Commit a02cfece authored by Vitaly Lipatov's avatar Vitaly Lipatov

upgrade: add support for additional options

parent 399e846e
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
epm_upgrade() epm_upgrade()
{ {
[ -n "$pkg_filenames" ] && fatal "No need any args for upgrade command"
echo "Run command for upgrade packages" echo "Run command for upgrade packages"
case $PMTYPE in case $PMTYPE in
apt-rpm|apt-dpkg) apt-rpm|apt-dpkg)
...@@ -55,5 +53,5 @@ epm_upgrade() ...@@ -55,5 +53,5 @@ epm_upgrade()
;; ;;
esac esac
docmd $SUDO $CMD docmd $SUDO $CMD $pkg_filenames
} }
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