ln -s /etc/lx-office-erp/lx-office-erp.cherokee /etc/cherokee/sites-available/lx-office-erp.cherokee
fi;
fi;
+ if [ -e /etc/lighttpd ] ; then
+ if ! [ -f /etc/lighttpd/conf-enabled/lx-office-erp.lighttpd ] ; then
+ ln -s /etc/lx-office-erp/lx-office-erp.lighttpd /etc/lighttpf/conf-enabled/10-lx-office-erp
+ fi;
+ fi;
}
reload_web_server() {
if [ -f /etc/init.d/apache* ] ; then
if [ -f /etc/init.d/cherokee ] ; then
/etc/init.d/cherokee reload
fi
+ if [ -f /etc/init.d/lighttpd ] ; then
+ /etc/init.d/lighttpd reload
+ fi
}
case "$1" in
################################################
VER=`cat VERSION`
-DEST=$DST/lx-office-erp_$VER-$NR-all
+DEST=$DST/lx-office-erp_$VER-$NR$1-all
mkdir -p $DEST
tar xzf $SRC/DEBIAN/struktur.tgz
#Für Hardy + co Sonderbehandlung
-if [ "$1#" == "old#" ]; then
+if [ "$1#" == "-older#" ]; then
mv DEBIAN/control.older DEBIAN/control
else
rm DEBIAN/control.older
cp -a $SRC/doc/* usr/share/doc/lx-office-erp/
cp -a $SRC/image/* usr/share/lx-office-erp/
-#Ist nicht im Repository. Bei Sven oder Holger erfragen.
-if [ "$1#" == "old#" ]; then
- tar xzf $SRC/DEBIAN/missing_lib.tar.gz
+#Ist nicht im Repository. Liegt bei sf
+if [ "$1#" == "-older#" ]; then
+ tar xzf $SRC/DEBIAN/lx-erp-perl-libs-compat-v2.tar.gz
fi
#Git- und dummy-files löschen
#Paket bauen:
cd ..
-dpkg-deb --build lx-office-erp_$VER-$NR-all
+dpkg-deb --build lx-office-erp_$VER-$NR$1-all
echo "Done"