Codebase list font-manager / 31d5d27
Get rid of unnecessary postinst and postrm scripts Alessio Treglia 7 years ago
2 changed file(s) with 0 addition(s) and 79 deletion(s). Raw diff Collapse all Expand all
+0
-41
debian/nautilus-font-manager.postinst less more
0 #!/bin/sh
1 # postinst script for nautilus-font-manager
2 #
3 # see: dh_installdeb(1)
4
5 set -e
6
7 # summary of how this script can be called:
8 # * <postinst> `configure' <most-recently-configured-version>
9 # * <old-postinst> `abort-upgrade' <new version>
10 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
11 # <new-version>
12 # * <postinst> `abort-remove'
13 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
14 # <failed-install-package> <version> `removing'
15 # <conflicting-package> <version>
16 # for details, see http://www.debian.org/doc/debian-policy/ or
17 # the debian-policy package
18
19
20 case "$1" in
21 configure)
22 python -m compileall /usr/share/nautilus-python/extensions/
23 python -O -m compileall /usr/share/nautilus-python/extensions/
24 ;;
25 abort-upgrade|abort-remove|abort-deconfigure)
26 python -m compileall /usr/share/nautilus-python/extensions/
27 python -O -m compileall /usr/share/nautilus-python/extensions/
28 ;;
29 *)
30 echo "postinst called with unknown argument \`$1'" >&2
31 exit 1
32 ;;
33 esac
34
35 # dh_installdeb will replace this with shell code automatically
36 # generated by other debhelper scripts.
37
38 #DEBHELPER#
39
40 exit 0
+0
-38
debian/nautilus-font-manager.postrm less more
0 #!/bin/sh
1 # postrm script for nautilus-font-manager
2 #
3 # see: dh_installdeb(1)
4
5 set -e
6
7 # summary of how this script can be called:
8 # * <postrm> `remove'
9 # * <postrm> `purge'
10 # * <old-postrm> `upgrade' <new-version>
11 # * <new-postrm> `failed-upgrade' <old-version>
12 # * <new-postrm> `abort-install'
13 # * <new-postrm> `abort-install' <old-version>
14 # * <new-postrm> `abort-upgrade' <old-version>
15 # * <disappearer's-postrm> `disappear' <overwriter>
16 # <overwriter-version>
17 # for details, see http://www.debian.org/doc/debian-policy/ or
18 # the debian-policy package
19
20
21 case "$1" in
22 purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
23 rm -f /usr/share/nautilus-python/extensions/font-manager.pyc
24 rm -f /usr/share/nautilus-python/extensions/font-manager.pyo
25 ;;
26 *)
27 echo "postrm called with unknown argument \`$1'" >&2
28 exit 1
29 ;;
30 esac
31
32 # dh_installdeb will replace this with shell code automatically
33 # generated by other debhelper scripts.
34
35 #DEBHELPER#
36
37 exit 0