Fix package removal

Shift first to drop the first commandline argument (-e).

Change-Id: I73a0100484b6443ad5bdf500dd032af20eac7d3b
This commit is contained in:
Juerg Haefliger 2014-05-12 11:56:59 +02:00
parent 76c59bfbde
commit 562546ecb6

View File

@ -30,8 +30,8 @@ if [ "$1" = "-u" ] ; then
install_deb_packages dist-upgrade
exit 0
elif [ "$1" = "-e" ]; then
install_deb_packages remove $@
shift
install_deb_packages remove $@
else
install_deb_packages install $@
fi