Commit 9ca1a6c0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.64.58

parent 42fbe625
......@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR=$PROGDIR/../etc
EPMVERSION="3.64.57"
EPMVERSION="3.64.58"
# package, single (file), pipe, git
EPMMODE="package"
......@@ -1214,13 +1214,26 @@ set_pm_type()
if [ -n "$EPM_BACKEND" ] ; then
PMTYPE="$EPM_BACKEND"
return
fi
if [ -n "$FORCEPM" ] ; then
PMTYPE="$FORCEPM"
return
fi
case "$PMTYPE" in
dnf5)
PMTYPE="dnf5-rpm"
;;
esac
case "$PMTYPE" in
dnf5-rpm)
DNFCMD="dnf5"
;;
dnf-rpm)
DNFCMD="dnf"
;;
esac
}
is_active_systemd()
......@@ -1391,7 +1404,7 @@ __epm_suggest_similar_packages()
is_command fzf || return 1
local similar
similar="$(fzf -f "$pkg" < "$cache" 2>/dev/null | head -$count)"
similar="$(fzf -f "$pkg" < "$cache" 2>/dev/null | grep -v "^${pkg}$" | head -$count)"
[ -z "$similar" ] && return 1
# Interactive selection if enabled (via config or --interactive flag)
......
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