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

- improve apt-get output
This commit is contained in:
Michael Vogt 2014-12-02 14:57:54 +01:00
parent e4a35525a8
commit 292ff17165
2 changed files with 9 additions and 2 deletions

7
debian/changelog vendored
View File

@ -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
[ Michael Vogt ]

View File

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