| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | case "$1" in |
| 6 | configure) |
| 7 | if ! [scip-shell system . . `[`. -e /var/log/poldiscip-shell filesystem . . `/var/log/poldi`. ]; then |
| 8 | touchscip-shell system . . touch. /var/log/poldiscip-shell filesystem . . `/var/log/poldi`. |
| 9 | chownscip-shell system . . chown. root:adm /var/log/poldiscip-shell filesystem . . `/var/log/poldi`. |
| 10 | chmodscip-shell system . . chmod. 0640 /var/log/poldiscip-shell filesystem . . `/var/log/poldi`. |
| 11 | fi |
| 12 | ;; |
| 13 | |
| 14 | abort-upgrade|abort-remove|abort-deconfigure) |
| 15 | ;; |
| 16 | |
| 17 | *) |
| 18 | echoscip-shell system . . echo. "postinst called with unknown argument \`$1'" >&2 |
| 19 | exit 1 |
| 20 | ;; |
| 21 | esac |
| 22 | |
| 23 | #DEBHELPER# |
| 24 | |
| 25 | exit 0 |