fix quoting in click installer egrep call

ubuntu/trusty
Oliver Grawert 11 years ago
parent 4bf614efcc
commit da3e3e4168

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.200) UNRELEASED; urgency=low
* use proper quoting for egrep call in click installer
-- Oliver Grawert <ogra@ubuntu.com> Tue, 26 Nov 2013 16:41:56 +0100
livecd-rootfs (2.199) trusty; urgency=low livecd-rootfs (2.199) trusty; urgency=low
* make the click package installation check for proper architecture before * make the click package installation check for proper architecture before

@ -20,7 +20,7 @@ CLICKARCH=$(dpkg --print-architecture)
wget --no-verbose -O "$tmpdir/click_list" "$click_list" wget --no-verbose -O "$tmpdir/click_list" "$click_list"
for package in $(cat "$tmpdir/click_list") for package in $(cat "$tmpdir/click_list")
do do
if echo $package | egrep -q _$CLICKARCH.click|_all.click|_unknown.click; then if echo $package | egrep -q "_$CLICKARCH.click|_all.click|_unknown.click"; then
echo "Setting up $package" echo "Setting up $package"
wget --no-verbose -O "$tmpdir/$package" "$click_uri/$package" wget --no-verbose -O "$tmpdir/$package" "$click_uri/$package"
click install --force-missing-framework --root="$click_db" --all-users \ click install --force-missing-framework --root="$click_db" --all-users \

Loading…
Cancel
Save