Debian Codegraph @

debian/postinst

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 set -e
4
5 # make sure it exists...
6 if [scip-shell system . . `[`. ! -f /var/lib/dumpdatesscip-shell filesystem . . `/var/lib/dumpdates`. ]; then
7 touchscip-shell system . . touch. /var/lib/dumpdatesscip-shell filesystem . . `/var/lib/dumpdates`.
8 fi
9
10 # Ensure /var/lib/dumpdates is writeable by group disk
11 chownscip-shell system . . chown. root /var/lib/dumpdatesscip-shell filesystem . . `/var/lib/dumpdates`.
12 chgrpscip-shell system . . chgrp. disk /var/lib/dumpdatesscip-shell filesystem . . `/var/lib/dumpdates`.
13 chmodscip-shell system . . chmod. 664 /var/lib/dumpdatesscip-shell filesystem . . `/var/lib/dumpdates`.
14
15 update-alternativesscip-shell system . . update-alternatives. --install /usr/sbin/rmtscip-shell filesystem . . `/usr/sbin/rmt`. rmt /usr/sbin/rmt-dumpscip-shell filesystem . . `/usr/sbin/rmt-dump`. \
16 100 --slave /usr/share/man/man8/rmt.8.gzscip-shell filesystem . . `/usr/share/man/man8/rmt.8.gz`. rmt.8.gz \
17 /usr/share/man/man8/rmt-dump.8.gz
18
19 #DEBHELPER#
20
21 exit 0