* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:

- improve apt-get output
ubuntu/yakkety
Michael Vogt 10 years ago
parent e4a35525a8
commit 292ff17165

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.274) UNRELEASED; urgency=low
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
- improve apt-get output
-- Michael Vogt <michael.vogt@ubuntu.com> Tue, 02 Dec 2014 14:57:39 +0100
livecd-rootfs (2.273) vivid; urgency=low livecd-rootfs (2.273) vivid; urgency=low
[ Michael Vogt ] [ Michael Vogt ]

@ -9,7 +9,7 @@ PREFIX=binary/boot/filesystem.dir
mkdir -p $PREFIX/usr/local/bin mkdir -p $PREFIX/usr/local/bin
cat >$PREFIX/usr/local/bin/apt-get <<EOF cat >$PREFIX/usr/local/bin/apt-get <<EOF
#!/bin/sh #!/bin/sh
echo "apt is not available on snappy Ubuntu! Try our snappy command to install" cat <<EOF
echo "and update your system" echo "Ubuntu Core does not use APT, see 'snappy --help'!"
EOF EOF
chmod 755 $PREFIX/usr/local/bin/apt-get chmod 755 $PREFIX/usr/local/bin/apt-get

Loading…
Cancel
Save