Commit 33bdb697 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.62.8

parent 66fee550
...@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR ...@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install # will replaced with /etc/eepm during install
CONFIGDIR=$PROGDIR/../etc CONFIGDIR=$PROGDIR/../etc
export EPMVERSION="3.62.7" export EPMVERSION="3.62.8"
# package, single (file), pipe, git # package, single (file), pipe, git
EPMMODE="package" EPMMODE="package"
...@@ -362,6 +362,10 @@ echog() ...@@ -362,6 +362,10 @@ echog()
fi fi
} }
message()
{
echog "$*"
}
fatal() fatal()
{ {
...@@ -375,6 +379,18 @@ fatal() ...@@ -375,6 +379,18 @@ fatal()
exit 1 exit 1
} }
fixme()
{
local PROMOMESSAGE="$EPMPROMOMESSAGE"
[ -n "$PROMOMESSAGE" ] || PROMOMESSAGE=" (you can discuss the epm $EPMVERSION problem in Telegram: https://t.me/useepm)"
set_color $RED >&2
echo -n "ERROR: " >&2
restore_color >&2
echo "$* $PROMOMESSAGE" >&2
exit 1
}
debug() debug()
{ {
[ -n "$debug" ] || return [ -n "$debug" ] || return
...@@ -1858,7 +1874,7 @@ __epm_autoremove_altrpm_pp() ...@@ -1858,7 +1874,7 @@ __epm_autoremove_altrpm_pp()
if [ -n "$flag" ] ; then if [ -n "$flag" ] ; then
info "" info
info "call again for next cycle until all modules will be removed" info "call again for next cycle until all modules will be removed"
__epm_autoremove_altrpm_pp "$libexclude" __epm_autoremove_altrpm_pp "$libexclude"
fi fi
...@@ -1929,7 +1945,7 @@ __epm_autoremove_altrpm_lib() ...@@ -1929,7 +1945,7 @@ __epm_autoremove_altrpm_lib()
fi fi
if [ -n "$flag" ] ; then if [ -n "$flag" ] ; then
info "" info
info "call again for next cycle until all libs will be removed" info "call again for next cycle until all libs will be removed"
__epm_autoremove_altrpm_lib $opt __epm_autoremove_altrpm_lib $opt
fi fi
...@@ -3353,7 +3369,7 @@ __epm_korinf_install_eepm() ...@@ -3353,7 +3369,7 @@ __epm_korinf_install_eepm()
warning "Using external (Korinf) repo is forbidden for stable ALT branch $DISTRVERSION." warning "Using external (Korinf) repo is forbidden for stable ALT branch $DISTRVERSION."
info "Check https://bugzilla.altlinux.org/44314 for reasons." info "Check https://bugzilla.altlinux.org/44314 for reasons."
info "You can install eepm package from Korinf manually, check instruction at https://eepm.ru" info "You can install eepm package from Korinf manually, check instruction at https://eepm.ru"
info "" info
info "Trying update eepm from the stable ALT repository ..." info "Trying update eepm from the stable ALT repository ..."
docmd epm install eepm docmd epm install eepm
return return
...@@ -3647,8 +3663,8 @@ epm_full_upgrade() ...@@ -3647,8 +3663,8 @@ epm_full_upgrade()
"--no-epm-play") # HELPCMD: skip epm play during full upgrade "--no-epm-play") # HELPCMD: skip epm play during full upgrade
full_upgrade_no_epm_play=1 full_upgrade_no_epm_play=1
;; ;;
"--no-flatpack") # HELPCMD: skip flatpack update during full upgrade "--no-flatpak") # HELPCMD: skip flatpak update during full upgrade
full_upgrade_no_flatpack=1 full_upgrade_no_flatpak=1
;; ;;
"--no-snap") # HELPCMD: skip snap update during full upgrade "--no-snap") # HELPCMD: skip snap update during full upgrade
full_upgrade_no_snap=1 full_upgrade_no_snap=1
...@@ -7331,14 +7347,14 @@ case $PMTYPE in ...@@ -7331,14 +7347,14 @@ case $PMTYPE in
if is_installed $pkg_names ; then if is_installed $pkg_names ; then
CMD="rpm -q --provides" CMD="rpm -q --provides"
else else
fatal "FIXME: use hi level commands or download firstly" fixme "FIXME: use hi level commands or download firstly"
fi fi
;; ;;
yum-rpm) yum-rpm)
if is_installed $pkg_names ; then if is_installed $pkg_names ; then
CMD="rpm -q --provides" CMD="rpm -q --provides"
else else
fatal "FIXME: use hi level commands or download firstly" fixme "FIXME: use hi level commands or download firstly"
fi fi
;; ;;
dnf-rpm) dnf-rpm)
...@@ -9773,7 +9789,7 @@ __epm_repack_to_rpm() ...@@ -9773,7 +9789,7 @@ __epm_repack_to_rpm()
tmpbuilddir=$HOME/$(basename $pkg).tmpdir tmpbuilddir=$HOME/$(basename $pkg).tmpdir
mkdir $tmpbuilddir mkdir $tmpbuilddir
abspkg="$(realpath $pkg)" abspkg="$(realpath $pkg)"
info "" info
info "Repacking $abspkg to local rpm format (inside $tmpbuilddir) ..." info "Repacking $abspkg to local rpm format (inside $tmpbuilddir) ..."
alpkg=$(basename $pkg) alpkg=$(basename $pkg)
...@@ -13386,8 +13402,10 @@ epm_upgrade() ...@@ -13386,8 +13402,10 @@ epm_upgrade()
return return
fi fi
if [ -z "$*" ] ; then
__check_upgrade_conditions || fatal "upgrade conditions is not satisfied." __check_upgrade_conditions || fatal "upgrade conditions is not satisfied."
fi fi
fi
# Solus supports upgrade for a package (with all dependencies) # Solus supports upgrade for a package (with all dependencies)
if [ -n "$1" ] && [ "$DISTRNAME" = "Solus" ] ; then if [ -n "$1" ] && [ "$DISTRNAME" = "Solus" ] ; then
......
...@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR ...@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install # will replaced with /etc/eepm during install
CONFIGDIR=$PROGDIR/../etc CONFIGDIR=$PROGDIR/../etc
EPMVERSION="3.62.7" EPMVERSION="3.62.8"
# package, single (file), pipe, git # package, single (file), pipe, git
EPMMODE="package" EPMMODE="package"
...@@ -363,6 +363,10 @@ echog() ...@@ -363,6 +363,10 @@ echog()
fi fi
} }
message()
{
echog "$*"
}
fatal() fatal()
{ {
...@@ -376,6 +380,18 @@ fatal() ...@@ -376,6 +380,18 @@ fatal()
exit 1 exit 1
} }
fixme()
{
local PROMOMESSAGE="$EPMPROMOMESSAGE"
[ -n "$PROMOMESSAGE" ] || PROMOMESSAGE=" (you can discuss the epm $EPMVERSION problem in Telegram: https://t.me/useepm)"
set_color $RED >&2
echo -n "ERROR: " >&2
restore_color >&2
echo "$* $PROMOMESSAGE" >&2
exit 1
}
debug() debug()
{ {
[ -n "$debug" ] || return [ -n "$debug" ] || return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment