mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +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
|