Commit 571d00d6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

remove: small clean

parent 58e5f64f
...@@ -73,11 +73,11 @@ esac ...@@ -73,11 +73,11 @@ esac
epm_remove() epm_remove()
{ {
[ -n "$pkg_files$pkg_names" ] || fatal "Run remove without names" [ -n "$pkg_filenames" ] || fatal "Run remove without names"
case $DISTRNAME in case $DISTRNAME in
"ALTLinux"|"Ubuntu"|"Debian"|"PCLinux") "ALTLinux"|"Ubuntu"|"Debian"|"PCLinux")
CMD="apt-get remove" CMD="apt-get remove --purge"
;; ;;
"LinuxXP"|"Fedora"|"ASPLinux"|"CentOS"|"RHEL"|"Scientific") "LinuxXP"|"Fedora"|"ASPLinux"|"CentOS"|"RHEL"|"Scientific")
CMD="yum remove" CMD="yum remove"
...@@ -89,8 +89,7 @@ case $DISTRNAME in ...@@ -89,8 +89,7 @@ case $DISTRNAME in
CMD="zypper remove" CMD="zypper remove"
;; ;;
*) *)
RET=1 fatal "Do not known command for $PMTYPE"
CMD="echo \"Do not known install command for DISTRNAME $DISTRNAME\""
;; ;;
esac esac
......
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