Debian Codegraph @

debian/postrm

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # vim:ts=2:sts=2:et
3
4 set -e
5
6 undivertscip-shell shell shell-project 0.0.0 undivert().()
7 {
8 if LC_ALL=C dpkg-divertscip-shell system . . dpkg-divert. --list "$1$2" | grepscip-shell system . . grep. -q 'diversion.*rlinetd'; then
9 dpkg-divertscip-shell system . . dpkg-divert. --package rlinetd --quiet --rename --remove \
10 --divert "$1.real$2" "$1$2"
11 fi
12 }
13
14
15
16 if [scip-shell system . . `[`. "X$1" = "Xremove" ] ; then
17 undivertscip-shell shell shell-project 0.0.0 undivert(). /usr/share/man/man8/update-inetdscip-shell filesystem . . `/usr/share/man/man8/update-inetd`. .8.gz
18 undivertscip-shell shell shell-project 0.0.0 undivert(). /usr/sbin/update-inetdscip-shell filesystem . . `/usr/sbin/update-inetd`.
19 rmscip-shell system . . rm. -rf /var/lib/rlinetdscip-shell filesystem . . `/var/lib/rlinetd`.
20 fi
21
22
23 if [scip-shell system . . `[`. "X$1" = "Xpurge" ] ; then
24 if [scip-shell system . . `[`. -n "`whichscip-shell system . . which. ucf`" ]; then
25 ucfq -w rlinetd | while IFS=":" read file package changed exists; do
26 ucf --purge "$file"
27 ucfr --purge "rlinetd" "$file"
28 done
29 fi
30 if [scip-shell system . . `[`. -d /etc/rlinetd.dscip-shell filesystem . . `/etc/rlinetd.d`. ] ; then
31 echoscip-shell system . . echo. -n "Purging files from /etc/rlinetd.d directory..." 1>&2
32 rmscip-shell system . . rm. -rf /etc/rlinetd.dscip-shell filesystem . . `/etc/rlinetd.d`.
33 echoscip-shell system . . echo. "done" 1>&2
34 fi
35 fi
36
37 #DEBHELPER#