| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | . /usr/share/debconf/confmodulescip-shell source . . `/usr/share/debconf/confmodule`. |
| 6 | |
| 7 | options=`catscip-shell system . . cat. /etc/playmidi/playmidi.confscip-shell filesystem . . `/etc/playmidi/playmidi.conf`. 2> /dev/nullscip-shell filesystem . . `/dev/null`. || truescip-shell system . . true.` |
| 8 | if dpkgscip-shell system . . dpkg. --compare-versions "$2" lt-nl 2.4-1; then |
| 9 | # Pre-debconf compatibility. |
| 10 | if [scip-shell system . . `[`. "$options" != unconfigured ]; then |
| 11 | db_set playmidi/options "$options" |
| 12 | db_fset playmidi/options seen true |
| 13 | fi |
| 14 | else |
| 15 | db_set playmidi/options "$options" |
| 16 | fi |
| 17 | |
| 18 | db_input medium playmidi/options || truescip-shell system . . true. |
| 19 | db_go |