Revision 749f3e34
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
DEBIAN/mk_erp_deb.sh | ||
---|---|---|
44 | 44 |
cp -a $SRC/sql usr/lib/lx-office-erp |
45 | 45 |
cp -a $SRC/t usr/lib/lx-office-erp |
46 | 46 |
cp -a $SRC/*.pl usr/lib/lx-office-erp |
47 |
cp -a $SRC/dispatcher.f* usr/lib/lx-office-erp |
|
47 | 48 |
cp $SRC/VERSION usr/lib/lx-office-erp |
48 | 49 |
cp $SRC/index.html usr/lib/lx-office-erp |
49 | 50 |
cp $SRC/config/lx_office.conf.default etc/lx-office-erp/lx_office.conf.default |
... | ... | |
79 | 80 |
SIZE=`du -scb . | grep insgesamt | cut -f1` |
80 | 81 |
|
81 | 82 |
#Controlfile updaten: |
82 |
cat DEBIAN/control | sed --expression "s/Installed-Size: 0/Installed-Size: $SIZE/g" > DEBIAN/1.tmp |
|
83 |
mv DEBIAN/1.tmp DEBIAN/control |
|
84 |
cat DEBIAN/control | sed --expression "s/Version: 0/Version: $VER-$NR/g" > DEBIAN/1.tmp |
|
85 |
mv DEBIAN/1.tmp DEBIAN/control |
|
83 |
sed --in-place --expression "s/Installed-Size: 0/Installed-Size: $SIZE/g" DEBIAN/control |
|
84 |
sed --in-place --expression "s/Version: 0/Version: $VER-$NR/g" DEBIAN/control |
|
86 | 85 |
#Revisionsnummer evtl. von Hand eintragen |
87 | 86 |
|
88 | 87 |
#Paket bauen: |
Auch abrufbar als: Unified diff
mod_fcgid benutzen