~timrchavez/live-build/lb-sg-2.x-add-suppport-for-pxz

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Daniel Baumann
  • Date: 2011-03-09 17:18:29 UTC
  • Revision ID: daniel@debian.org-20110309171829-b7tyrxub0nimlo0z
Adding live-helper 1.0~a10-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
set -e
4
 
 
5
 
case "${1}" in
6
 
        install)
7
 
                for FILE in /usr/share/man/man7/casper.7.gz /usr/share/man/man1/casper-snapshot.1.gz
8
 
                do
9
 
                        dpkg-divert --package live-helper --add --rename --divert ${FILE}.casper ${FILE}
10
 
                done
11
 
                ;;
12
 
 
13
 
        upgrade|abort-upgrade)
14
 
 
15
 
                ;;
16
 
 
17
 
        *)
18
 
                echo "preinst called with unknown argument \`${1}'" >&2
19
 
                exit 1
20
 
                ;;
21
 
esac
22
 
 
23
 
#DEBHELPER#
24
 
 
25
 
exit 0