mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-09 18:31:11 +00:00
16 lines
354 B
Plaintext
16 lines
354 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
echo "I: Creating warning to use snappy when apt-get is used"
|
||
|
|
||
|
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"
|
||
|
EOF
|
||
|
chmod 755 $PREFIX/usr/local/bin/apt-get
|