[Pkg-lyx-devel] svn commit: r575 - in /lyx/trunk/debian: changelog lyx-common.postinst lyx-common.preinst lyx.preinst
hoaxter-guest at users.alioth.debian.org
hoaxter-guest at users.alioth.debian.org
Mon Mar 30 18:57:48 UTC 2009
Author: hoaxter-guest
Date: Mon Mar 30 18:57:48 2009
New Revision: 575
URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=575
Log:
Move the -e flag in the (post|pre)inst scripts from the shebang
line to a separate 'set -e'. This is useful if you run the scripts
with a different shell for debugging purpose.
Modified:
lyx/trunk/debian/changelog
lyx/trunk/debian/lyx-common.postinst
lyx/trunk/debian/lyx-common.preinst
lyx/trunk/debian/lyx.preinst
Modified: lyx/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/changelog?rev=575&op=diff
==============================================================================
--- lyx/trunk/debian/changelog (original)
+++ lyx/trunk/debian/changelog Mon Mar 30 18:57:48 2009
@@ -6,6 +6,9 @@
[ Sven Hoexter ]
* New upstream release Closes: #519936
* Update Standards-Version to 3.8.1 without any changes.
+ * Move the -e flag in the (post|pre)inst scripts from the shebang
+ line to a separate 'set -e'. This is useful if you run the scripts
+ with a different shell for debugging purpose.
-- Sven Hoexter <sven at timegate.de> Mon, 30 Mar 2009 13:14:30 +0200
Modified: lyx/trunk/debian/lyx-common.postinst
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/lyx-common.postinst?rev=575&op=diff
==============================================================================
--- lyx/trunk/debian/lyx-common.postinst (original)
+++ lyx/trunk/debian/lyx-common.postinst Mon Mar 30 18:57:48 2009
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
rm -f /usr/share/lyx/lyxrc.defaults
rm -f /usr/share/lyx/packages.lst
Modified: lyx/trunk/debian/lyx-common.preinst
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/lyx-common.preinst?rev=575&op=diff
==============================================================================
--- lyx/trunk/debian/lyx-common.preinst (original)
+++ lyx/trunk/debian/lyx-common.preinst Mon Mar 30 18:57:48 2009
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
# Remove a no-longer used conffile
rm_conffile() {
Modified: lyx/trunk/debian/lyx.preinst
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/lyx.preinst?rev=575&op=diff
==============================================================================
--- lyx/trunk/debian/lyx.preinst (original)
+++ lyx/trunk/debian/lyx.preinst Mon Mar 30 18:57:48 2009
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
if [ -d /usr/share/doc/lyx ] && ! readlink /usr/share/doc/lyx >/dev/null; then
rm -rf /usr/share/doc/lyx
More information about the Pkg-lyx-devel
mailing list