diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot-installation.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index ffb2fa9c..4951f326 100755 --- a/bin/chroot-installation.sh +++ b/bin/chroot-installation.sh @@ -75,7 +75,7 @@ set -x apt-get install -y dctrl-tools PACKAGES="" for PKG in $@ ; do - PACKAGES="\$PACKAGES \$(grep-dctrl -S \$PKG /var/lib/apt/lists/*Packages | grep ^Package: | sed -s "s#Package: ##g" | xargs -r echo)" + PACKAGES="\$PACKAGES \$(grep-dctrl -S \$PKG /var/lib/apt/lists/*Packages | sed -n -e "s#^Package: ##p" | xargs -r echo)" done apt-get install -y \$PACKAGES apt-get clean |