[Pkg-octave-commit] r2376 - in octave-pkg-dev/trunk: . debian
Rafael Laboissiere
rafael at alioth.debian.org
Sun Aug 3 07:26:07 UTC 2008
Author: rafael
Date: 2008-08-03 07:26:06 +0000 (Sun, 03 Aug 2008)
New Revision: 2376
Added:
octave-pkg-dev/trunk/postrm-octpkg
Removed:
octave-pkg-dev/trunk/prerm-octpkg
Modified:
octave-pkg-dev/trunk/README
octave-pkg-dev/trunk/debian/changelog
octave-pkg-dev/trunk/debian/install
octave-pkg-dev/trunk/octave-pkg-helper.in
Log:
Call 'pkg rebuild' in postrm instead of prerm
Modified: octave-pkg-dev/trunk/README
===================================================================
--- octave-pkg-dev/trunk/README 2008-07-31 15:53:24 UTC (rev 2375)
+++ octave-pkg-dev/trunk/README 2008-08-03 07:26:06 UTC (rev 2376)
@@ -16,7 +16,7 @@
Add ${octave:Depends} to the Depends field of the package in
debian/control.
-Appropriate postinst and prerm scripts are automatically generated.
+Appropriate postinst and postrm scripts are automatically generated.
If the package needs its own maintainer scripts, add a line containing
#DEBHELPER# to it. This tag will be appropriately substituted by
octave-pkg-dev.
Modified: octave-pkg-dev/trunk/debian/changelog
===================================================================
--- octave-pkg-dev/trunk/debian/changelog 2008-07-31 15:53:24 UTC (rev 2375)
+++ octave-pkg-dev/trunk/debian/changelog 2008-08-03 07:26:06 UTC (rev 2376)
@@ -1,3 +1,16 @@
+octave-pkg-dev (0.5.8) UNRELEASED; urgency=low
+
+ [ Ólafur Jens Sigurðsson ]
+ * debian/control: Bump Standards-Version to 3.8.0 (no changes needed)
+
+ [ Rafael Laboissiere ]
+ * octave-pkg-helper.in, debian/install: Call "pkg rebuild" in the postrm
+ script instead of prerm, otherwise Octave thinks the package is always
+ there even if purged (bug spotted by Thomas Weber)
+ * debian/postrm-octpkg: Renamed from prerm-octpkg
+
+ -- Rafael Laboissiere <rafael at debian.org> Sun, 03 Aug 2008 09:18:24 +0200
+
octave-pkg-dev (0.5.7) unstable; urgency=low
[ Thomas Weber ]
Modified: octave-pkg-dev/trunk/debian/install
===================================================================
--- octave-pkg-dev/trunk/debian/install 2008-07-31 15:53:24 UTC (rev 2375)
+++ octave-pkg-dev/trunk/debian/install 2008-08-03 07:26:06 UTC (rev 2376)
@@ -1,6 +1,6 @@
octave-pkg.mk usr/share/cdbs/1/class
octave-pkg-helper usr/share/octave/debian/dh
postinst-octpkg usr/share/debhelper/autoscripts
-prerm-octpkg usr/share/debhelper/autoscripts
+postrm-octpkg usr/share/debhelper/autoscripts
pkg.m usr/share/octave/debian/m
cstrcat.m usr/share/octave/debian/m
Modified: octave-pkg-dev/trunk/octave-pkg-helper.in
===================================================================
--- octave-pkg-dev/trunk/octave-pkg-helper.in 2008-07-31 15:53:24 UTC (rev 2375)
+++ octave-pkg-dev/trunk/octave-pkg-helper.in 2008-08-03 07:26:06 UTC (rev 2376)
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# octave-pkg-dev.pl: Generate ${octave:Depends} variable and
-# postinst/prerm scripts
+# postinst/postrm scripts
# This file is part of the octave-pkg-dev Debian package
# Copyright (c) 2008 Rafael Laboissiere <rafael at debian.org>
@@ -55,5 +55,5 @@
}
autoscript ($package, 'postinst', 'postinst-octpkg',
's/#OCTAVE#/@OCTAVE@/');
- autoscript ($package, 'prerm', 'prerm-octpkg', 's/#OCTAVE#/@OCTAVE@/');
+ autoscript ($package, 'postrm', 'postrm-octpkg', 's/#OCTAVE#/@OCTAVE@/');
}
Copied: octave-pkg-dev/trunk/postrm-octpkg (from rev 2375, octave-pkg-dev/trunk/prerm-octpkg)
===================================================================
--- octave-pkg-dev/trunk/postrm-octpkg (rev 0)
+++ octave-pkg-dev/trunk/postrm-octpkg 2008-08-03 07:26:06 UTC (rev 2376)
@@ -0,0 +1,6 @@
+# -*- sh -*-
+
+case "$1" in
+ upgrade|remove|purge)
+ #OCTAVE# --silent --no-history --no-init-file --eval "pkg ('rebuild');"
+esac
Property changes on: octave-pkg-dev/trunk/postrm-octpkg
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: octave-pkg-dev/trunk/prerm-octpkg
===================================================================
--- octave-pkg-dev/trunk/prerm-octpkg 2008-07-31 15:53:24 UTC (rev 2375)
+++ octave-pkg-dev/trunk/prerm-octpkg 2008-08-03 07:26:06 UTC (rev 2376)
@@ -1,6 +0,0 @@
-# -*- sh -*-
-
-case "$1" in
- upgrade|remove|purge)
- #OCTAVE# --silent --no-history --no-init-file --eval "pkg ('rebuild');"
-esac
More information about the Pkg-octave-commit
mailing list