[Pkg-lyx-devel] svn commit: r395 - in /dvipost/trunk/debian: changelog postinst postrm rules
hoaxter-guest at users.alioth.debian.org
hoaxter-guest at users.alioth.debian.org
Wed Nov 14 20:16:40 UTC 2007
Author: hoaxter-guest
Date: Wed Nov 14 20:16:40 2007
New Revision: 395
URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=395
Log:
Don't ignore make distclean errors and execute texhash in post scripts only if it exists
Modified:
dvipost/trunk/debian/changelog
dvipost/trunk/debian/postinst
dvipost/trunk/debian/postrm
dvipost/trunk/debian/rules
Modified: dvipost/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/changelog?rev=395&op=diff
==============================================================================
--- dvipost/trunk/debian/changelog (original)
+++ dvipost/trunk/debian/changelog Wed Nov 14 20:16:40 2007
@@ -1,3 +1,12 @@
+dvipost (1.1-3) unstable; urgency=low
+
+ [ Sven Hoexter ]
+ * Update rules to not ignore make distclean errors.
+ * Check if texhash exists in postinst and postrm
+ (Inspired by Per's changes to lyx post* scripts).
+
+ --
+
dvipost (1.1-2) unstable; urgency=low
[ Per Olofsson ]
Modified: dvipost/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/postinst?rev=395&op=diff
==============================================================================
--- dvipost/trunk/debian/postinst (original)
+++ dvipost/trunk/debian/postinst Wed Nov 14 20:16:40 2007
@@ -2,7 +2,7 @@
case "$1" in
configure)
- texhash
+ test -x "$(which texhash)" && texhash
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: dvipost/trunk/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/postrm?rev=395&op=diff
==============================================================================
--- dvipost/trunk/debian/postrm (original)
+++ dvipost/trunk/debian/postrm Wed Nov 14 20:16:40 2007
@@ -2,7 +2,7 @@
case "$1" in
remove)
- texhash
+ test -x "$(which texhash)" && texhash
;;
upgrade|purge|failed-upgrade|abort-install|abort-upgrade|disappear)
Modified: dvipost/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/rules?rev=395&op=diff
==============================================================================
--- dvipost/trunk/debian/rules (original)
+++ dvipost/trunk/debian/rules Wed Nov 14 20:16:40 2007
@@ -36,7 +36,7 @@
dh_testroot
rm -f build-stamp configure-stamp
- -$(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) distclean
rm -f config.log install
dh_clean
More information about the Pkg-lyx-devel
mailing list