ldapsaisie/debian/ldapsaisie.postinst
2014-06-30 12:54:03 +00:00

9 lines
307 B
Bash

#!/bin/sh
chown www-data:adm /var/tmp/ldapsaisie /var/log/ldapsaisie
chmod 750 /var/tmp/ldapsaisie /var/log/ldapsaisie
if [ -f /usr/local/share/ldapsaisie/conf/config.inc.php.dpkg-move ]
then
mv /usr/local/share/ldapsaisie/conf/config.inc.php.dpkg-move /usr/local/share/ldapsaisie/conf/config.inc.php
fi