Syntax highlighting: text
prebuild.sh
https://git.launchpad.net/ubuntu-release-upgrader/tree/pre-build.sh?id=5e3e30c05bac086c1d7a62cc56ac878621a0bbc8
# update apt_btrfs_snapshot.py copy, this needs an installed
# apt-btrfs-snapshot on the build machine
if [ ! -e /usr/lib/python3/dist-packages/apt_btrfs_snapshot.py ]; then
echo "please sudo apt-get install apt-btrfs-snapshot"
exit 1
fi
echo "copying apt_btrfs_snapshot.py for the upgrader tarball"
cp /usr/lib/python3/dist-packages/apt_btrfs_snapshot.py DistUpgrade