Commit d1f0d367 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent 2e5d4057
......@@ -37,7 +37,7 @@ _query_via_packages_list()
return $res
}
# internal use only
# internal use only, for installed package
__epm_get_hilevel_nameform()
{
[ -n "$*" ] || return
......
......@@ -21,6 +21,6 @@ load_helper epm-packages
epm_query_package()
{
#showcmd grep --color "$pkg_filenames"
EXTRA_SHOWDOCMD=" | grep --color \"$pkg_filenames\""
pkg_filenames= epm_packages | grep -i --color -- "$pkg_filenames"
}
......@@ -31,7 +31,7 @@ epm_reinstall_names()
sudocmd dnf reinstall $@
return ;;
slackpkg)
sudocmd /usr/sbin/slackpkg reinstall $@
sudocmd_foreach "/usr/sbin/slackpkg reinstall" $@
return ;;
esac
......@@ -52,7 +52,7 @@ epm_reinstall_files()
sudocmd dpkg -i $@
return ;;
slackpkg)
sudocmd /sbin/installpkg $@
sudocmd_foreach "/sbin/installpkg" $@
return ;;
esac
......
......@@ -28,6 +28,7 @@ epm_release_upgrade()
docmd epm install apt rpm
showcmd "TODO: change repo"
docmd epm Upgrade
docmd epm update-kernel
;;
apt-dpkg)
sudocmd do-release-upgrade -d
......
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