Commit d1f0d367 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

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