Commit 0053b33d authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.64.7

parent 836e3614
...@@ -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.64.6" EPMVERSION="3.64.7"
# package, single (file), pipe, git # package, single (file), pipe, git
EPMMODE="package" EPMMODE="package"
...@@ -391,27 +391,29 @@ message() ...@@ -391,27 +391,29 @@ message()
echog "$*" echog "$*"
} }
fatal()
__promo_message()
{ {
local PROMOMESSAGE="$EPMPROMOMESSAGE" local PROMOMESSAGE="$EPMPROMOMESSAGE"
[ -n "$PROMOMESSAGE" ] || PROMOMESSAGE=" (you can discuss the epm $EPMVERSION problem in Telegram: https://t.me/useepm)" [ -n "$PROMOMESSAGE" ] || PROMOMESSAGE=" (you can discuss this problem (epm $EPMVERSION on $DISTRNAME/$DISTRVERSION) in Telegram: https://t.me/useepm)"
echo "$PROMOMESSAGE"
}
fatal()
{
set_color $RED >&2 set_color $RED >&2
echog -n "ERROR: " >&2 echog -n "ERROR: " >&2
restore_color >&2 restore_color >&2
echog "$* $PROMOMESSAGE" >&2 echog "$* $(__promo_message)" >&2
exit 1 exit 1
} }
fixme() fixme()
{ {
local PROMOMESSAGE="$EPMPROMOMESSAGE"
[ -n "$PROMOMESSAGE" ] || PROMOMESSAGE=" (you can discuss the epm $EPMVERSION problem in Telegram: https://t.me/useepm)"
set_color $RED >&2 set_color $RED >&2
echo -n "ERROR: " >&2 echo -n "ERROR: " >&2
restore_color >&2 restore_color >&2
echo "$* $PROMOMESSAGE" >&2 echog "$* $(__promo_message)" >&2
exit 1 exit 1
} }
...@@ -1116,20 +1118,6 @@ else ...@@ -1116,20 +1118,6 @@ else
} }
fi fi
set_backend()
{
case $arg in
*:*)
PMTYPE=$(echo "$arg" | cut -d: -f1)
names=$(echo "$arg" | cut -d: -f2)
;;
*)
PMTYPE=$($DISTRVENDOR -g)
names="$(echo $pkg_names | tr ' ' '\n' | grep -v ':' | filter_out_installed_packages)"
esac
}
# File bin/serv-cat: # File bin/serv-cat:
serv_cat() serv_cat()
...@@ -1980,6 +1968,9 @@ case $DISTRIB_ID in ...@@ -1980,6 +1968,9 @@ case $DISTRIB_ID in
Solus) Solus)
CMD="eopkg" CMD="eopkg"
;; ;;
PisiLinux)
CMD="pisi"
;;
Mandriva) Mandriva)
CMD="urpm-rpm" CMD="urpm-rpm"
;; ;;
...@@ -2068,7 +2059,7 @@ case $DISTRIB_ID in ...@@ -2068,7 +2059,7 @@ case $DISTRIB_ID in
echo "pkgmanager(): We don't support yet DISTRIB_ID $DISTRIB_ID (VENDOR_ID $VENDOR_ID)" >&2 echo "pkgmanager(): We don't support yet DISTRIB_ID $DISTRIB_ID (VENDOR_ID $VENDOR_ID)" >&2
;; ;;
esac esac
if [ "$CMD" = "dnf-rpm" ] && [ $(dnf --version | grep -qi "dnf5") ] ; then if [ "$CMD" = "dnf-rpm" ] && dnf --version | grep -qi "dnf5" ; then
CMD="dnf5-rpm" CMD="dnf5-rpm"
fi fi
echo "$CMD" echo "$CMD"
...@@ -2099,6 +2090,7 @@ pkgtype() ...@@ -2099,6 +2090,7 @@ pkgtype()
openwrt) echo "ipk" ;; openwrt) echo "ipk" ;;
cygwin) echo "tar.xz" ;; cygwin) echo "tar.xz" ;;
solus) echo "eopkg" ;; solus) echo "eopkg" ;;
pisilinux) echo "pisi" ;;
*) *)
case $(pkgmanager) in case $(pkgmanager) in
*-dpkg) *-dpkg)
...@@ -2151,6 +2143,9 @@ normalize_name() ...@@ -2151,6 +2143,9 @@ normalize_name()
"Fedora Linux") "Fedora Linux")
echo "Fedora" echo "Fedora"
;; ;;
"Pardus GNU/Linux")
echo "Pardus"
;;
"Red Hat Enterprise Linux Server") "Red Hat Enterprise Linux Server")
echo "RHEL" echo "RHEL"
;; ;;
......
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