summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2014-06-01 17:45:12 +0200
committercos <cos>2014-06-01 17:54:55 +0200
commitbc9ebd68a62c4101675dd9a24874914a99fe7d6f (patch)
tree3ecebd34237b125b5a232efddf32dc8d0b4864e1
parent56b5bdcf49cd9e8f1dd8f32aad344fc316126824 (diff)
downloadgo-webbrowser-launcher-bc9ebd68a62c4101675dd9a24874914a99fe7d6f.zip
Added enforce-configurations script.
-rwxr-xr-xgen-package6
1 files changed, 5 insertions, 1 deletions
diff --git a/gen-package b/gen-package
index bc4b937..b6cd71d 100755
--- a/gen-package
+++ b/gen-package
@@ -3,7 +3,7 @@
set -e
CONTROL='Package: go-webbrowser-launcher
-Version: 20140522-1
+Version: 20140601-1
Maintainer: cos <cos>
Description: Wrapper script to conveniently(sic?) launch web browsers.
Section: base
@@ -21,6 +21,10 @@ find . -name ${package}_${version}.deb|
echo "$CONTROL" > ${builddir}/${package}_${version}/DEBIAN/control
mkdir --parent ${builddir}/${package}_${version}/usr/bin/
cp go ${builddir}/${package}_${version}/usr/bin
+ mkdir --parent \
+ ${builddir}/${package}_${version}/usr/lib/go-webbrowser-launcher
+ cp enforce-configurations \
+ ${builddir}/${package}_${version}/usr/lib/go-webbrowser-launcher
( cd ${builddir}; dpkg-deb --build ${package}_${version} )
mv ${builddir}/${package}_${version}.deb .
}