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

8 lines
284 B
Bash

#!/bin/sh
if test ! -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