debian/ffproxy.postinst
raw| 1 | #!/bin/sh |
| 2 | # |
| 3 | # postinst script for ffproxy |
| 4 | # |
| 5 | |
| 6 | set -e |
| 7 | |
| 8 | if [ "$1" = "configure" ]; then |
| 9 | if which ucf >/dev/null; then |
| 10 | ucf /usr/share/ffproxy/ffproxy.conf.debian \ |
| 11 | /etc/ffproxy/ffproxy.conf |
| 12 | fi |
| 13 | if which ucfr >/dev/null; then |
| 14 | ucfr ffproxy /etc/ffproxy/ffproxy.conf |
| 15 | fi |
| 16 | fi |
| 17 | |
| 18 | #DEBHELPER# |
| 19 | |
| 20 | exit 0 |