diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-02-29 11:30:21 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-02-29 11:30:21 +0000 |
| commit | f5258aed755575c1abf269348e4e335cdcb17a3b (patch) | |
| tree | c4a6e09a28b033dd115b32eff4d13b732dcaa4ce /deb-build.sh | |
| parent | d9e265975297fb712213fbbf12c43b6ca68fc846 (diff) | |
- program sa da nainstalovat do /usr/
( ak sa zmenia dve konstanty tak hocikam :) )
- script na robenie balickov pre debian-like distribuciach
testovane pod Debian 4.3r a Ubuntu 7.10 vo VirtualBoxe 1.5.6
git-svn-id: http://opensvn.csie.org/tuxanci_ng@6 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'deb-build.sh')
| -rwxr-xr-x | deb-build.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/deb-build.sh b/deb-build.sh new file mode 100755 index 0000000..6b889e6 --- /dev/null +++ b/deb-build.sh @@ -0,0 +1,23 @@ + +rm -rf deb + +mkdir deb +mkdir deb/DEBIAN +mkdir deb/usr +mkdir deb/usr/bin +mkdir deb/usr/share + +cp control deb/DEBIAN/ + +cd deb + +echo -e "2.0\n" > DEBIAN/debian-binary + +cp /usr/bin/tuxanci-ng usr/bin/ +cp -rf /usr/share/tuxanci-ng usr/share/ + +md5sum `find ./ -type f | awk '/.\// { print substr($0, 3) }'` > DEBIAN/md5sums + +cd .. +rm -rf *.deb +dpkg -b ./deb tuxanci-ng_i386.deb |