[Pkg-jed-commit] [SCM] Debian packaging of JED branch, jo-0.99.19, updated. 1%3A0.99.18+dfsg.1-10-291-ga668a94
Jörg Sommer
joerg at alea.gnuu.de
Sat Nov 21 22:27:30 UTC 2009
The following commit has been merged in the jo-0.99.19 branch:
commit 0d2f6383a00c37595ef5015f55cf27f63458075b
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date: Sat Nov 21 22:56:49 2009 +0100
(x|)jed: Remove obsolate preinst script
The current code in the preinst scripts is for the upgrade to a symlink
in /usr/share/doc. The change to symlinks (#61013) happend in version
0.99.10-1. An upgrade from such an old version to the current one is not
supported and hence we do not need this code.
diff --git a/debian/changelog b/debian/changelog
index f45c65c..0413659 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,7 +49,7 @@ jed (1:0.99.19~pre210-1) UNRELEASED; urgency=low
* Bumped Standards-Version to 3.8.3; no changes needed.
- * Removed obsolate files: README.Maintainer
+ * Removed obsolate files: README.Maintainer, {x,}jed.preinst
-- Jörg Sommer <joerg at alea.gnuu.de> Thu, 01 Jan 1970 00:00:00 +0000
diff --git a/debian/jed.preinst b/debian/jed.preinst
deleted file mode 100644
index 1ad4c55..0000000
--- a/debian/jed.preinst
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /bin/sh
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-
-case "$1" in
- install|upgrade)
- # I want symlinks to jed-common
- test -d /usr/share/doc/jed && rm -rf /usr/share/doc/jed
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/xjed.preinst b/debian/xjed.preinst
deleted file mode 100644
index b04f961..0000000
--- a/debian/xjed.preinst
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /bin/sh
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-
-case "$1" in
- install|upgrade)
- # I want symlinks to jed-common
- test -d /usr/share/doc/xjed && rm -rf /usr/share/doc/xjed
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
--
Debian packaging of JED
More information about the Pkg-jed-commit
mailing list