Modificirano da ne briše konfiguraciju
[kernel-cn.git] / debian / postrm
1 #!/bin/sh
2 # postrm script for kernel-cn
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 # summary of how this script can be called:
9 #        * <postrm> `remove'
10 #        * <postrm> `purge'
11 #        * <old-postrm> `upgrade' <new-version>
12 #        * <new-postrm> `failed-upgrade' <old-version>
13 #        * <new-postrm> `abort-install'
14 #        * <new-postrm> `abort-install' <old-version>
15 #        * <new-postrm> `abort-upgrade' <old-version>
16 #        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
17 # for details, see http://www.debian.org/doc/debian-policy/ or
18 # the debian-policy package
19
20 # Debconf
21 . /usr/share/debconf/confmodule
22
23 case "$1" in
24     purge)
25       # continue below
26     ;;
27
28     *)
29         exit 0
30     ;;
31 esac
32
33 # import CN-functions
34 . /usr/share/carnet-tools/functions.sh
35
36 ################################################################################
37
38 ### zakomentirano jer više ne želimo brisati postavke nakon brisanja paketa (2023-07-05)
39 ###echo -n "CN: Cleaning up..."
40
41 #### remove us from limits.conf
42 ###cp-update -r kernel-cn /etc/security/limits.conf
43 ###echo -n " limits"
44
45 #### remove us from modules
46 ###cp-update -r kernel-cn /etc/modules
47 ###echo -n " modules"
48
49 ###echo "."
50
51 # dh_installdeb will replace this with shell code automatically
52 # generated by other debhelper scripts.
53
54 #DEBHELPER#
55
56 exit 0