[Pkg-ocaml-maint-commits] [SCM] polygen packaging branch, master, updated. debian/1.0.6.ds2-6-7-g751f5ae
Stefano Zacchiroli
zack at upsilon.cc
Thu Mar 5 19:39:20 UTC 2009
The following commit has been merged in the master branch:
commit 2aaf5b11936c397e4a8a525337e24d61541a00b3
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date: Thu Mar 5 20:30:10 2009 +0100
debian/*postinst: do not ignore script exit code
diff --git a/debian/changelog b/debian/changelog
index 5282ad7..f1061f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ polygen (1.0.6.ds2-7) unstable; urgency=low
* debian/rules: use ocaml.mk as a CDBS "rules" snippet
* debian/control: add missing ${misc:Depends} substvars
* debian/copyright: refer to version-ful common license file
+ * debian/*postinst: do not ignore script exit code
[ Stephane Glondu ]
* Switching packaging to git
diff --git a/debian/polygen-data.postinst b/debian/polygen-data.postinst
index b02209b..1af6a80 100644
--- a/debian/polygen-data.postinst
+++ b/debian/polygen-data.postinst
@@ -1,16 +1,11 @@
-#!/bin/sh
-
+#!/bin/sh -e
#set +C # turn off noclobber
-
if [ ! -e /usr/share/polygen/ita/polygen.grm.o ]
then
echo -n "Generating grammar objects..."
-
# Set the right umask
umask 0022
-
find /usr/share/polygen/ -type f -iname '*.grm' ! -iname '*.grm.o' -exec polygen "{}" \; > /dev/null
-
echo "done."
fi
--
polygen packaging
More information about the Pkg-ocaml-maint-commits
mailing list