releasing version 1.0
[modeles-openoffice.git] / auf-modeles-openoffice / debian / prerm
1 #!/bin/sh
2
3 set -e
4
5 TEMPLATEDIR="/usr/share/modeles-openoffice/AuF"
6
7 if  [ "$1" = "remove" -o "$1" = "purge" ] ; then
8   cd "$TEMPLATEDIR"
9   for dir in \
10         /usr/lib/openoffice/basis*/share/template/fr \
11         /opt/openoffice.org/basis*/share/template/fr
12   do
13     for file in *
14     do
15       test -L $dir/AuF/$file && rm $dir/AuF/$file
16     done
17     rmdir $dir/AuF >/dev/null 2>&1 || true
18   done
19 fi
20
21 #DEBHELPER#
22
23 exit 0