updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / sitracker / sitracker.install
blobad54f1ebd6c03dd9798535b3939db6c059cebb10
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 pre_install() {
6   /bin/true
9 # arg 1:  the new package version
10 post_install() {
11   echo "Remember that you need to install either mysql or postgresql for this package to work"
12   if [[ ! `grep "^extension=mysql.so" /etc/php/php.ini` ]]
13         then echo "If you use mysql you should enable its module by adding the line:"
14         echo "   extension=mysql.so"
15         echo "to your /etc/php/php.ini, otherwise SiTracker won't work."
16   fi
17   /bin/true
20 # arg 1:  the new package version
21 # arg 2:  the old package version
22 pre_upgrade() {
23   /bin/true
26 # arg 1:  the new package version
27 # arg 2:  the old package version
28 post_upgrade() {
29   /bin/true
32 # arg 1:  the old package version
33 pre_remove() {
34   /bin/true
37 # arg 1:  the old package version
38 post_remove() {
39   /bin/true