updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / fusiondirectory / fusiondirectory.install
blob891ab1205701536dbb3d714d0f41a461877105eb
1 post_upgrade() {
2   cd /opt/fusiondirectory
3   ./update-fusiondirectory
6 post_install() {
7   ## UGLY HACK !!
8   #  disable open_basedir in php.ini,
9   #  otherwise update-fusiondirectory will fail
10   sed -i s/^open_basedir/';'open_basedir/ /etc/php/php.ini
12   cd /opt/fusiondirectory
13   ./update-fusiondirectory
15   echo
16   echo "--------------------------------------------------------------------------"
17   echo "1. Disable open_basedir in php.ini"
18   echo "2. cd /opt/fusiondirectory && ./update-fusiondirectory"
19   echo "3. Enable php in httpd.conf"
20   echo "4. Include '/etc/httpd/conf/extra/httpd-fusiondirectory.conf' in httpd.conf"
21   echo "5. Configure required modules in php.ini"
22   echo "6. Start httpd and browse to: http://<someip>/fusiondirectory"
23   echo "7. Complete the setup (You will need working ldap setup)"
24   echo "--------------------------------------------------------------------------"