diff options
author | Daniel Baumann <daniel@debian.org> | 2011-02-02 12:34:45 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:34 +0100 |
commit | 5964413f16fa41adceeab6afb2f88c8db9be1fd0 (patch) | |
tree | 650b8670921cf2adf7f9d8073d92fc26a3697bbf | |
parent | afd63ce871544e76406cdec70c67e4268e39d3da (diff) | |
download | vyos-live-build-5964413f16fa41adceeab6afb2f88c8db9be1fd0.tar.gz vyos-live-build-5964413f16fa41adceeab6afb2f88c8db9be1fd0.zip |
Adding preinst script to remove /usr/share/live/build/includes/squeeze (Closes: #611794).
-rw-r--r-- | debian/live-build.preinst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/live-build.preinst b/debian/live-build.preinst new file mode 100644 index 000000000..1d53a0a0f --- /dev/null +++ b/debian/live-build.preinst @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +case "${1}" in + upgrade) + if [ -h /usr/share/live/build/includes/squeeze ] + then + rm -f /usr/share/live/build/includes/squeeze + fi + ;; + + install|abort-upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |