ldapsaisie/debian/ldapsaisie.preinst

9 lines
313 B
Text
Raw Permalink Normal View History

#!/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