mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 20:57:29 +00:00
21 lines
505 B
Bash
Executable File
21 lines
505 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
case ${PASS} in
|
|
ubuntu-server-minimal.ubuntu-server)
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
# The unminimize script will try to install the lxd snap. We can't
|
|
# do that at this stage so just neuter the snap command (the snap
|
|
# will get properly seeded by generic machinery).
|
|
dpkg-divert --add --divert /usr/bin/snap.REAL --rename /usr/bin/snap
|
|
ln -s /bin/true /usr/bin/snap
|
|
yes | /usr/local/sbin/unminimize
|
|
rm /usr/bin/snap
|
|
dpkg-divert --remove --rename /usr/bin/snap
|