Commit a9213bb2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.64.9

parent 094e0497
...@@ -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.64.8" export EPMVERSION="3.64.9"
# package, single (file), pipe, git # package, single (file), pipe, git
EPMMODE="package" EPMMODE="package"
...@@ -1366,12 +1366,12 @@ __epm_addrepo_altlinux() ...@@ -1366,12 +1366,12 @@ __epm_addrepo_altlinux()
;; ;;
deferred) deferred)
[ "$DISTRVERSION" = "Sisyphus" ] || fatal "Etersot Sisyphus Deferred supported only for ALT Sisyphus." [ "$DISTRVERSION" = "Sisyphus" ] || fatal "Etersot Sisyphus Deferred supported only for ALT Sisyphus."
epm repo add "http://download.etersoft.ru/pub Etersoft/Sisyphus/Deferred" epm repo add "http://download.etersoft.ru/pub/Etersoft/Sisyphus/Deferred"
return 0 return 0
;; ;;
deferred.org) deferred.org)
[ "$DISTRVERSION" = "Sisyphus" ] || fatal "Etersot Sisyphus Deferred supported only for ALT Sisyphus." [ "$DISTRVERSION" = "Sisyphus" ] || fatal "Etersot Sisyphus Deferred supported only for ALT Sisyphus."
epm repo add "http://mirror.eterfund.org/download.etersoft.ru/pub Etersoft/Sisyphus/Deferred" epm repo add "http://mirror.eterfund.org/download.etersoft.ru/pub/Etersoft/Sisyphus/Deferred"
return 0 return 0
;; ;;
archive) archive)
...@@ -4566,26 +4566,26 @@ process_package_arguments() { ...@@ -4566,26 +4566,26 @@ process_package_arguments() {
local arg local arg
local package_groups local package_groups
declare -A package_groups declare -A package_groups
# ONLY supported backend in short form?
VALID_BACKENDS="apt-rpm apt-dpkg aptitude-dpkg deepsolver-rpm urpm-rpm packagekit pkgsrc pkgng redox-pkg emerge pacman aura yum-rpm dnf-rpm snappy zypper-rpm mpkg eopkg conary npackd slackpkg homebrew opkg nix apk tce guix termux-pkg aptcyg xbps appget winget" VALID_BACKENDS="apt-rpm apt-dpkg aptitude-dpkg deepsolver-rpm urpm-rpm packagekit pkgsrc pkgng redox-pkg emerge pacman aura yum-rpm dnf-rpm snappy zypper-rpm mpkg eopkg conary npackd slackpkg homebrew opkg nix apk tce guix termux-pkg aptcyg xbps appget winget"
for arg in "$@"; do for arg in "$@"; do
pmtype=$PMTYPE
name="$arg"
tpmtype=$(echo "$arg" | cut -d: -f1)
case "$arg" in case "$arg" in
*:*) *:*)
pmtype=$(echo "$arg" | cut -d: -f1) # FIXME
if echo "$arg" | grep -q "^[a-z][a-z][a-z]*:" && echo "$VALID_BACKENDS" | grep -qw "$tpmtype"; then
pmtype=$tpmtype
name=$(echo "$arg" | cut -d: -f2) name=$(echo "$arg" | cut -d: -f2)
if ! echo "$VALID_BACKENDS" | grep -qw "$pmtype"; then
pmtype=$PMTYPE
fi fi
;; ;;
*)
pmtype=$PMTYPE
name="$arg"
;;
esac esac
package_groups["$pmtype"]+="$name " package_groups["$pmtype"]+="$name "
done done
for pmtype in "${!package_groups[@]}"; do for pmtype in "${!package_groups[@]}"; do
(PMTYPE="$pmtype" epm_install_names ${package_groups[$pmtype]}) (PMTYPE="$pmtype" PPARGS=1 epm_install_names ${package_groups[$pmtype]})
done done
} }
...@@ -4593,9 +4593,8 @@ epm_install_names() ...@@ -4593,9 +4593,8 @@ epm_install_names()
{ {
[ -z "$1" ] && return [ -z "$1" ] && return
warmup_hibase # check some like nix: prefix, PPARGS for stop possible recursion. TODO
if echo "$*" | grep -q '[a-z][a-z][a-z]*:' && [ -z "$PPARGS" ] ; then
if echo "$@" | grep -q ':'; then
process_package_arguments "$@" process_package_arguments "$@"
return return
fi fi
...@@ -4605,6 +4604,8 @@ epm_install_names() ...@@ -4605,6 +4604,8 @@ epm_install_names()
return return
fi fi
warmup_hibase
if [ -n "$dryrun" ] ; then if [ -n "$dryrun" ] ; then
epm simulate "$@" epm simulate "$@"
return return
...@@ -14684,7 +14685,7 @@ internal_distr_info() ...@@ -14684,7 +14685,7 @@ internal_distr_info()
# You can set ROOTDIR to root system dir # You can set ROOTDIR to root system dir
#ROOTDIR= #ROOTDIR=
PROGVERSION="20230406" PROGVERSION="20250206"
# TODO: check /etc/system-release # TODO: check /etc/system-release
...@@ -14932,7 +14933,7 @@ case $DISTRIB_ID in ...@@ -14932,7 +14933,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" ] && a= dnf --version | grep -qi "dnf5" ; then
CMD="dnf5-rpm" CMD="dnf5-rpm"
fi fi
echo "$CMD" echo "$CMD"
...@@ -15666,7 +15667,7 @@ local orig='' ...@@ -15666,7 +15667,7 @@ local orig=''
local EV='' local EV=''
[ -n "$EPMVERSION" ] && EV="(EPM version $EPMVERSION) " [ -n "$EPMVERSION" ] && EV="(EPM version $EPMVERSION) "
cat <<EOF cat <<EOF
distro_info v$PROGVERSION $EV: Copyright © 2007-2024 Etersoft distro_info v$PROGVERSION $EV: Copyright © 2007-2025 Etersoft
Pretty name (--pretty): $(print_pretty_name) Pretty name (--pretty): $(print_pretty_name)
(--distro-name / --distro-version): $DISTRO_NAME / $DISTRIB_FULL_RELEASE$orig (--distro-name / --distro-version): $DISTRO_NAME / $DISTRIB_FULL_RELEASE$orig
......
...@@ -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.8" EPMVERSION="3.64.9"
# package, single (file), pipe, git # package, single (file), pipe, git
EPMMODE="package" EPMMODE="package"
...@@ -1811,7 +1811,7 @@ internal_distr_info() ...@@ -1811,7 +1811,7 @@ internal_distr_info()
# You can set ROOTDIR to root system dir # You can set ROOTDIR to root system dir
#ROOTDIR= #ROOTDIR=
PROGVERSION="20230406" PROGVERSION="20250206"
# TODO: check /etc/system-release # TODO: check /etc/system-release
...@@ -2059,7 +2059,7 @@ case $DISTRIB_ID in ...@@ -2059,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" ] && a= dnf --version | grep -qi "dnf5" ; then
CMD="dnf5-rpm" CMD="dnf5-rpm"
fi fi
echo "$CMD" echo "$CMD"
...@@ -2793,7 +2793,7 @@ local orig='' ...@@ -2793,7 +2793,7 @@ local orig=''
local EV='' local EV=''
[ -n "$EPMVERSION" ] && EV="(EPM version $EPMVERSION) " [ -n "$EPMVERSION" ] && EV="(EPM version $EPMVERSION) "
cat <<EOF cat <<EOF
distro_info v$PROGVERSION $EV: Copyright © 2007-2024 Etersoft distro_info v$PROGVERSION $EV: Copyright © 2007-2025 Etersoft
Pretty name (--pretty): $(print_pretty_name) Pretty name (--pretty): $(print_pretty_name)
(--distro-name / --distro-version): $DISTRO_NAME / $DISTRIB_FULL_RELEASE$orig (--distro-name / --distro-version): $DISTRO_NAME / $DISTRIB_FULL_RELEASE$orig
......
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