File: ffproxy.postinst

package info (click to toggle)
ffproxy 1.6-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 904 kB
  • sloc: ansic: 2,311; asm: 578; sh: 425; makefile: 93
file content (20 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# postinst script for ffproxy
#

set -e

if [ "$1" = "configure" ]; then
    if which ucf >/dev/null; then
        ucf /usr/share/ffproxy/ffproxy.conf.debian \
            /etc/ffproxy/ffproxy.conf
    fi
    if which ucfr >/dev/null; then
        ucfr ffproxy /etc/ffproxy/ffproxy.conf
    fi
fi

#DEBHELPER#

exit 0