| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | pathfindscip-shell shell poppler-data 0.4.12-1 pathfind().() { |
| 6 | OLDIFS="$IFS" |
| 7 | IFS=: |
| 8 | for p in $PATH; do |
| 9 | if [scip-shell system . . `[`. -x "$p/$*" ]; then |
| 10 | IFS="$OLDIFS" |
| 11 | return 0 |
| 12 | fi |
| 13 | done |
| 14 | IFS="$OLDIFS" |
| 15 | return 1 |
| 16 | } |
| 17 | |
| 18 | case "$1" in |
| 19 | configure) |
| 20 | if $(pathfindscip-shell shell poppler-data 0.4.12-1 pathfind(). update-gsfontmap); then |
| 21 | update-gsfontmap |
| 22 | fi |
| 23 | ;; |
| 24 | |
| 25 | abort-upgrade|abort-remove|abort-deconfigure) |
| 26 | ;; |
| 27 | |
| 28 | *) |
| 29 | echoscip-shell system . . echo. "postinst called with unknown argument \`$1'" >&2 |
| 30 | exit 1 |
| 31 | ;; |
| 32 | esac |
| 33 | |
| 34 | # dh_installdeb will replace this with shell code automatically |
| 35 | # generated by other debhelper scripts. |
| 36 | |
| 37 | #DEBHELPER# |
| 38 | |
| 39 | exit 0 |