1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2024-12-26 02:13:48 +01:00
ldapsaisie/debian/ldapsaisie.preinst

12 lines
261 B
Text
Raw Normal View History

#!/bin/sh
case "$1" in
install|upgrade)
if [ -d /var/tmp/ldapsaisie -a -n "$( ls /var/tmp/ldapsaisie 2>/dev/null )" ]
then
[ ! -d /var/cache/ldapsaisie/ ] && mkdir /var/cache/ldapsaisie/
mv /var/tmp/ldapsaisie/* /var/cache/ldapsaisie/
fi
;;
esac