mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-24 02:49:07 +01:00
12 lines
261 B
Text
12 lines
261 B
Text
|
#!/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
|