Revision af9274d6
Von Holger Lindemann vor fast 14 Jahren hinzugefügt
DEBIAN/DEBIAN/postinst | ||
---|---|---|
176 | 176 |
ln -s /etc/lx-office-erp/lx-office-erp.cherokee /etc/cherokee/sites-available/lx-office-erp.cherokee |
177 | 177 |
fi; |
178 | 178 |
fi; |
179 |
if [ -e /etc/lighttpd ] ; then |
|
180 |
if ! [ -f /etc/lighttpd/conf-enabled/lx-office-erp.lighttpd ] ; then |
|
181 |
ln -s /etc/lx-office-erp/lx-office-erp.lighttpd /etc/lighttpf/conf-enabled/10-lx-office-erp |
|
182 |
fi; |
|
183 |
fi; |
|
179 | 184 |
} |
180 | 185 |
reload_web_server() { |
181 | 186 |
if [ -f /etc/init.d/apache* ] ; then |
... | ... | |
184 | 189 |
if [ -f /etc/init.d/cherokee ] ; then |
185 | 190 |
/etc/init.d/cherokee reload |
186 | 191 |
fi |
192 |
if [ -f /etc/init.d/lighttpd ] ; then |
|
193 |
/etc/init.d/lighttpd reload |
|
194 |
fi |
|
187 | 195 |
} |
188 | 196 |
case "$1" in |
189 | 197 |
|
DEBIAN/mk_erp_deb.sh | ||
---|---|---|
15 | 15 |
################################################ |
16 | 16 |
|
17 | 17 |
VER=`cat VERSION` |
18 |
DEST=$DST/lx-office-erp_$VER-$NR-all |
|
18 |
DEST=$DST/lx-office-erp_$VER-$NR$1-all
|
|
19 | 19 |
|
20 | 20 |
|
21 | 21 |
mkdir -p $DEST |
... | ... | |
26 | 26 |
tar xzf $SRC/DEBIAN/struktur.tgz |
27 | 27 |
|
28 | 28 |
#Für Hardy + co Sonderbehandlung |
29 |
if [ "$1#" == "old#" ]; then
|
|
29 |
if [ "$1#" == "-older#" ]; then
|
|
30 | 30 |
mv DEBIAN/control.older DEBIAN/control |
31 | 31 |
else |
32 | 32 |
rm DEBIAN/control.older |
... | ... | |
58 | 58 |
cp -a $SRC/doc/* usr/share/doc/lx-office-erp/ |
59 | 59 |
cp -a $SRC/image/* usr/share/lx-office-erp/ |
60 | 60 |
|
61 |
#Ist nicht im Repository. Bei Sven oder Holger erfragen.
|
|
62 |
if [ "$1#" == "old#" ]; then
|
|
63 |
tar xzf $SRC/DEBIAN/missing_lib.tar.gz
|
|
61 |
#Ist nicht im Repository. Liegt bei sf
|
|
62 |
if [ "$1#" == "-older#" ]; then
|
|
63 |
tar xzf $SRC/DEBIAN/lx-erp-perl-libs-compat-v2.tar.gz
|
|
64 | 64 |
fi |
65 | 65 |
|
66 | 66 |
#Git- und dummy-files löschen |
... | ... | |
89 | 89 |
|
90 | 90 |
#Paket bauen: |
91 | 91 |
cd .. |
92 |
dpkg-deb --build lx-office-erp_$VER-$NR-all |
|
92 |
dpkg-deb --build lx-office-erp_$VER-$NR$1-all
|
|
93 | 93 |
|
94 | 94 |
echo "Done" |
Auch abrufbar als: Unified diff
alternative Webserver
bug bei "older"