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
9 # arg 1: the new package version
11 echo "Remember that you need to install either mysql or postgresql for this package"
12 echo "to work. Also make sure to read either INSTALL.mysql.txt (for MySQL) or"
13 echo "INSTALL.pgsql.txt (for PostgreSQL) in /srv/www/atrium/."
14 if [[ ! `grep "^extension=mysql.so" /etc/php/php.ini` ]]
15 then echo "If you use mysql you should enable its module by adding the line:"
16 echo " extension=mysql.so"
17 echo "to your /etc/php/php.ini, otherwise opengoo won't work."
19 if [[ ! `grep "^extension=openssl.so" /etc/php/php.ini` ]]
20 then echo "Opengoo requires openssl, you should enable its module by adding the line:"
21 echo " extension=openssl.so"
22 echo "to your /etc/php/php.ini, otherwise opengoo won't work."
27 # arg 1: the new package version
28 # arg 2: the old package version
33 # arg 1: the new package version
34 # arg 2: the old package version
39 # arg 1: the old package version
44 # arg 1: the old package version