updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / slony1 / slony1.install
blob97b4f4ee1c68d0e3580c1cdf560bc8e476948557
1 # Contributor: Ryan Corder <ryanc@greengrey.org>
3 # arg 1: new package version
4 post_install() {
5     echo
6     echo "Make sure and define your NODE_NAME= in /etc/conf.d/slon"
7     echo "otherwise the daemon will fail to start."
8     echo
9     echo "The slon_tools.conf-sample is installed in /etc instead"
10     echo "of in /usr/etc/ where the binaries/scripts expect it to"
11     echo "be.  This is to conform to AUR packaging guidelines.  You"
12     echo "will also need a valid /etc/slon_tools.conf before the"
13     echo "daemon will start."
14     echo
17 # arg 1: new package version
18 # arg 2: old package version
19 post_upgrade() {
20     post_-install $1
23 op=$1
24 shift
26 $op $*