| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | if [scip-shell system . . `[`. remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then |
| 6 | dpkg-divertscip-shell system . . dpkg-divert. --package sasa --remove --rename \ |
| 7 | --divert /usr/bin/socket-activate.pyscip-shell filesystem . . `/usr/bin/socket-activate.py`. /usr/bin/socket-activatescip-shell filesystem . . `/usr/bin/socket-activate`. |
| 8 | dpkg-divertscip-shell system . . dpkg-divert. --package sasa --remove --rename \ |
| 9 | --divert /usr/share/man/man1/socket-activate.py.1.gzscip-shell filesystem . . `/usr/share/man/man1/socket-activate.py.1.gz`. /usr/share/man/man1/socket-activate.1.gzscip-shell filesystem . . `/usr/share/man/man1/socket-activate.1.gz`. |
| 10 | fi |
| 11 | |
| 12 | if [scip-shell system . . `[`. abort-upgrade = "$1" ] && dpkgscip-shell system . . dpkg. --compare-versions "$2" lt 0.1-1; then |
| 13 | dpkg-divertscip-shell system . . dpkg-divert. --package sasa --remove --rename \ |
| 14 | --divert /usr/bin/socket-activate.pyscip-shell filesystem . . `/usr/bin/socket-activate.py`. /usr/bin/socket-activatescip-shell filesystem . . `/usr/bin/socket-activate`. |
| 15 | dpkg-divertscip-shell system . . dpkg-divert. --package sasa --remove --rename \ |
| 16 | --divert /usr/share/man/man1/socket-activate.py.1.gzscip-shell filesystem . . `/usr/share/man/man1/socket-activate.py.1.gz`. /usr/share/man/man1/socket-activate.1.gzscip-shell filesystem . . `/usr/share/man/man1/socket-activate.1.gz`. |
| 17 | fi |
| 18 | |
| 19 | #DEBHELPER# |