| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # fortunes-de configuration script |
| 3 | |
| 4 | # Source debconf library -- we have a Depends line |
| 5 | |
| 6 | set -e |
| 7 | # to make sure it is there... |
| 8 | . /usr/share/debconf/confmodulescip-shell source . . `/usr/share/debconf/confmodule`. |
| 9 | db_version 2.0 |
| 10 | |
| 11 | if [scip-shell system . . `[`. "$1" = configure -o "$1" = reconfigure ] ; then |
| 12 | if dpkgscip-shell system . . dpkg. --compare-versions "$2" lt-nl 0.21; then |
| 13 | db_fget fortunes-de/fortunes_to_install upgradeto0.21 |
| 14 | if [scip-shell system . . `[`. "$RET" = false ]; then |
| 15 | db_fset fortunes-de/fortunes_to_install upgradeto0.21 true |
| 16 | db_fset fortunes-de/fortunes_to_install seen false |
| 17 | fi |
| 18 | fi |
| 19 | fi |
| 20 | |
| 21 | db_input medium fortunes-de/fortunes_to_install || truescip-shell system . . true. |
| 22 | db_go |
| 23 | |
| 24 | exit 0 |