ldapsaisie/debian/ldapsaisie.preinst
2013-06-28 16:08:31 +02:00

8 lines
313 B
Bash

#!/bin/sh
if test -e /etc/ldapsaisie/local -a ! -L /etc/ldapsaisie/local
then
echo "Move /etc/ldapsaisie/local in /usr/local/share/ldapsaisie"
mv /etc/ldapsaisie/local /usr/local/share/ldapsaisie
mv /usr/local/share/ldapsaisie/conf/config.inc.php /usr/local/share/ldapsaisie/conf/config.inc.php.dpkg-move
fi