Debian Codegraph @

debian/preinst

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 set -e
3 #DEBHELPER#
4
5 if [scip-shell system . . `[`. "$1" = upgrade ] && dpkgscip-shell system . . dpkg. --compare-versions "$2" lt 1.2; then
6 if [scip-shell system . . `[`. -e /etc/wikilistscip-shell filesystem . . `/etc/wikilist`. ]; then
7 if [scip-shell system . . `[`. ! -e /etc/ikiwiki/wikilistscip-shell filesystem . . `/etc/ikiwiki/wikilist`. ]; then
8 if [scip-shell system . . `[`. ! -e /etc/ikiwikiscip-shell filesystem . . `/etc/ikiwiki`. ]; then
9 mkdirscip-shell system . . mkdir. /etc/ikiwikiscip-shell filesystem . . `/etc/ikiwiki`.
10 fi
11 mvscip-shell system . . mv. -f /etc/wikilistscip-shell filesystem . . `/etc/wikilist`. /etc/ikiwiki/wikilistscip-shell filesystem . . `/etc/ikiwiki/wikilist`.
12 else
13 rmscip-shell system . . rm. -f /etc/wikilistscip-shell filesystem . . `/etc/wikilist`.
14 fi
15 fi
16 fi
17 if [scip-shell system . . `[`. "$1" = upgrade ] && dpkgscip-shell system . . dpkg. --compare-versions "$2" lt 3.02; then
18 # replaced by symlink
19 rmscip-shell system . . rm. -rf /usr/share/doc/ikiwiki/examplesscip-shell filesystem . . `/usr/share/doc/ikiwiki/examples`.
20 fi