[Pkg-octave-commit] rev 271 - in trunk/packages/octave/debian: . in
Rafael Laboissiere
rafael at costa.debian.org
Wed Sep 28 08:53:36 UTC 2005
Author: rafael
Date: 2005-09-28 08:53:36 +0000 (Wed, 28 Sep 2005)
New Revision: 271
Modified:
trunk/packages/octave/debian/changelog
trunk/packages/octave/debian/in/PACKAGE.prerm
Log:
Remove ls-R database for kpathsea in prerm script. This bug was
spotted by piuparts.
Modified: trunk/packages/octave/debian/changelog
===================================================================
--- trunk/packages/octave/debian/changelog 2005-09-28 06:41:57 UTC (rev 270)
+++ trunk/packages/octave/debian/changelog 2005-09-28 08:53:36 UTC (rev 271)
@@ -1,3 +1,14 @@
+octave2.1 (2.1.71-5) unstable; urgency=low
+
+ NOT YET RELEASED!
+
+ +++ Changes by Rafael Laboissiere
+
+ * debian/in/PACKAGE.prerm: Remove ls-R database for kpathsea (this bug
+ was spotted byt piuparts).
+
+ -- Debian Octave Group <pkg-octave-devel at lists.alioth.debian.org> Wed, 28 Sep 2005 10:50:39 +0200
+
octave2.1 (2.1.71-4) unstable; urgency=low
+++ Changes by Rafael Laboissiere
Modified: trunk/packages/octave/debian/in/PACKAGE.prerm
===================================================================
--- trunk/packages/octave/debian/in/PACKAGE.prerm 2005-09-28 06:41:57 UTC (rev 270)
+++ trunk/packages/octave/debian/in/PACKAGE.prerm 2005-09-28 08:53:36 UTC (rev 271)
@@ -2,9 +2,9 @@
#
# prerm script for the Debian GNU/Linux octave package
#
-# Written by Dirk Eddelbuettel <edd at debian.org>
+# Written by Dirk Eddelbuettel <edd at debian.org>
-#DEBHELPER#
+#DEBHELPER#
# The current Octave version, known to debian/rules at build time
VERSION=@VERSION@
@@ -14,11 +14,17 @@
#
# remove the /usr/local package, if we may
if [ -w /usr/local/share/octave/site-m ]
- then
+ then
rmdir /usr/local/share/octave/site-m 2>/dev/null || true
rmdir /usr/local/share/octave 2>/dev/null || true
fi
#
+ # remove the ls-R database for kpathsea
+ if [ -f /usr/share/octave/ls-R ]
+ then
+ rm -f /usr/share/octave/ls-R
+ fi
+ #
# update-alternatives for multiple Octave versions
update-alternatives --remove octave /usr/bin/octave-$VERSION
update-alternatives --remove @PACKAGE@ /usr/bin/octave-$VERSION
@@ -31,7 +37,7 @@
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
-esac
+esac
More information about the Pkg-octave-commit
mailing list