releasing version 1.0
[modeles-openoffice.git] / auf-modeles-openoffice / debian / postinst
CommitLineData
7e86542e
P
1#!/bin/sh
2
3set -e
4
5TEMPLATEDIR="/usr/share/modeles-openoffice/AuF"
6
7if [ "$1" = "configure" -o "$1" = "upgrade" ]; 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 mkdir -p $dir/AuF
14 for file in *
15 do
16 test -L $dir/AuF/$file || ln -s $TEMPLATEDIR/$file $dir/AuF/
17 done
18 done
19fi
20
21#DEBHELPER#
22
23exit 0