From 562546ecb61b0a04d0786a57a5c4f2cfffcb8979 Mon Sep 17 00:00:00 2001 From: Juerg Haefliger Date: Mon, 12 May 2014 11:56:59 +0200 Subject: [PATCH] Fix package removal Shift first to drop the first commandline argument (-e). Change-Id: I73a0100484b6443ad5bdf500dd032af20eac7d3b --- elements/dpkg/bin/install-packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/dpkg/bin/install-packages b/elements/dpkg/bin/install-packages index 4ab7ad40..bf325cf5 100755 --- a/elements/dpkg/bin/install-packages +++ b/elements/dpkg/bin/install-packages @@ -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