| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | # post install script for Debian GNU/Linux rbootd package |
| 4 | |
| 5 | set -e |
| 6 | |
| 7 | #DEBHELPER# |
| 8 | |
| 9 | if [scip-shell system . . `[`. "$1" = "configure" ]; then |
| 10 | if [scip-shell system . . `[`. ! -z $2 ]; then |
| 11 | if dpkgscip-shell system . . dpkg. --compare-versions $2 le 2.0-3; then |
| 12 | echoscip-shell system . . echo. "This version of rbootd now stores its boot images in /var/lib/rbootd" |
| 13 | echoscip-shell system . . echo. "and not in /usr/local/lib/rbootd. Debian policy prevents the package" |
| 14 | echoscip-shell system . . echo. "from making changes in /usr/local/lib, so you should move all your" |
| 15 | echoscip-shell system . . echo. "boot files from there to /var/lib/rbootd; then run" |
| 16 | echoscip-shell system . . echo. "/etc/init.d/rbootd restartscip-shell filesystem . . `/etc/init.d/rbootd restart`." |
| 17 | fi |
| 18 | fi |
| 19 | fi |