Correct some syntax errors in the ubuntu-core snap hooks

ubuntu/yakkety
Sebastien Bacher 9 years ago
parent f6058dfdb4
commit 2dd9d8a055

@ -9,7 +9,6 @@ PREFIX=binary/boot/filesystem.dir
mkdir -p $PREFIX/usr/local/bin mkdir -p $PREFIX/usr/local/bin
cat >$PREFIX/usr/local/bin/no-apt <<EOF cat >$PREFIX/usr/local/bin/no-apt <<EOF
#!/bin/sh #!/bin/sh
cat <<EOF
Ubuntu Core does not use apt-get, see 'snappy --help'! Ubuntu Core does not use apt-get, see 'snappy --help'!
EOF EOF
chmod 755 $PREFIX/usr/local/bin/no-apt chmod 755 $PREFIX/usr/local/bin/no-apt

@ -9,7 +9,6 @@ PREFIX=binary/boot/filesystem.dir
mkdir -p $PREFIX/usr/local/bin mkdir -p $PREFIX/usr/local/bin
cat >$PREFIX/usr/local/bin/xdg-open <<EOF cat >$PREFIX/usr/local/bin/xdg-open <<EOF
#!/bin/sh #!/bin/sh
cat <<'EOF'
dbus-send --print-reply --session --dest=com.canonical.SafeLauncher / com.canonical.SafeLauncher.OpenURL string:"$1" dbus-send --print-reply --session --dest=com.canonical.SafeLauncher / com.canonical.SafeLauncher.OpenURL string:"$1"
EOF EOF
chmod 755 $PREFIX/usr/local/bin/xdg-open chmod 755 $PREFIX/usr/local/bin/xdg-open

Loading…
Cancel
Save