releasing version 1.0
[modeles-openoffice.git] / auf-modeles-openoffice / debian / prerm
CommitLineData
7e86542e
P
1#!/bin/sh
2
3set -e
4
5TEMPLATEDIR="/usr/share/modeles-openoffice/AuF"
6
7if [ "$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
19fi
20
21#DEBHELPER#
22
23exit 0