Commit f3008f27 authored by Vitaly Lipatov's avatar Vitaly Lipatov

remove: allow fallback to next level if target does not supported

parent 9f653209
...@@ -38,12 +38,8 @@ epm_remove_low() ...@@ -38,12 +38,8 @@ epm_remove_low()
slackpkg) slackpkg)
docmd $SUDO removepkg $@ docmd $SUDO removepkg $@
return ;; return ;;
*)
fatal "Do not known command for $PMTYPE"
;;
esac esac
return 1 return 1
} }
epm_remove() epm_remove()
...@@ -122,9 +118,6 @@ epm_remove_nonint() ...@@ -122,9 +118,6 @@ epm_remove_nonint()
slackpkg) slackpkg)
docmd $SUDO slackpkg -batch=on -default_answer=yes remove $@ docmd $SUDO slackpkg -batch=on -default_answer=yes remove $@
return ;; return ;;
*)
fatal "Do not known command for $PMTYPE"
;;
esac esac
return 5 return 5
} }
......
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