mirror of
https://git.code.sf.net/p/projectlibre/code
synced 2024-11-01 03:21:46 +01:00
buid improvement
This commit is contained in:
parent
429164ed12
commit
18fda6a9e9
2 changed files with 36 additions and 0 deletions
21
openproj_build/license/license.rtf
Normal file
21
openproj_build/license/license.rtf
Normal file
File diff suppressed because one or more lines are too long
15
openproj_build/resources/deb/cleandeb.sh
Normal file
15
openproj_build/resources/deb/cleandeb.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
P="$1"
|
||||
DEB="$2"
|
||||
DEB2="$3"
|
||||
cd "$P"
|
||||
mkdir -p "$P"/tmp
|
||||
cd "$P"/tmp
|
||||
ar -x "$P"/"$DEB"
|
||||
gnutar -xzvf control.tar.gz
|
||||
gnutar -xzvf data.tar.gz
|
||||
gnutar --numeric-owner --owner=0 --group=0 -czvf control.tar.gz control postinst postrm
|
||||
gnutar --numeric-owner --owner=0 --group=0 -czvf data.tar.gz usr
|
||||
ar -r "$P"/"$DEB2" debian-binary control.tar.gz data.tar.gz
|
||||
cd ..
|
||||
rm -rf tmp
|
Loading…
Reference in a new issue