post_install() { # Create link for httpd-fusiondirectory.conf ln -s /etc/fusiondirectory/fusiondirectory-apache.conf /etc/httpd/conf/extra/httpd-fusiondirectory.conf echo '---------------------------------------------------------------------------' echo 'Add this line in your /etc/httpd/conf/httpd.conf' echo 'Include conf/extra/httpd-fusiondirectory.conf' echo '---------------------------------------------------------------------------' fusiondirectory-setup --update-cache --update-locales fusiondirectory-setup --yes --check-directories } post_remove() { echo '---------------------------------------------------------------------------' echo 'Removing of /var/cache/fusiondirectory/' rm -Rf /var/cache/fusiondirectory/ echo '---------------------------------------------------------------------------' echo '' echo '---------------------------------------------------------------------------' echo 'Remove this line in your /etc/httpd/conf/httpd.conf' echo 'Include conf/extra/httpd-fusiondirectory.conf' echo '---------------------------------------------------------------------------' }