Revision 6f9df130
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
DEBIAN/DEBIAN/postinst | ||
---|---|---|
for file in lx_office.conf lx_office.conf.default ; do
|
||
test -f /usr/lib/lx-office-erp/config/${file} || ln -s /etc/lx-office-erp/${file} /usr/lib/lx-office-erp/config/${file}
|
||
done
|
||
for file in lx-erp.conf authentication.pl ; do
|
||
if [ -f /usr/lib/lx-office-erp/config/${file} ] ; then
|
||
rm /usr/lib/lx-office-erp/config/${file}
|
||
fi
|
||
done
|
||
if [ -e /etc/apache2 ] ; then
|
||
if ! [ -f /etc/apache2/conf.d/lx-office-erp.apache2.conf ] ; then
|
||
ln -s /etc/lx-office-erp/lx-office-erp.apache2.conf /etc/apache2/conf.d/lx-office-erp.apache2.conf
|
Auch abrufbar als: Unified diff
Alte Konfigurationsdateilinks löschen