[gnuplot] 01/08: Remove old postinst, postrm and prerm scripts.

Anton Gladky gladk at moszumanska.debian.org
Tue Jun 24 22:02:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository gnuplot.

commit 414feb81b4ac555412aeb5487b634f4ad97ecfcf
Author: Anton Gladky <gladk at debian.org>
Date:   Sat Jun 21 15:18:27 2014 +0200

    Remove old postinst, postrm and prerm scripts.
---
 debian/gnuplot-nox.postinst | 26 --------------------------
 debian/gnuplot-nox.postrm   | 26 --------------------------
 debian/gnuplot-qt.postinst  | 26 --------------------------
 debian/gnuplot-qt.postrm    | 26 --------------------------
 debian/gnuplot-x11.postinst | 26 --------------------------
 debian/gnuplot-x11.postrm   | 26 --------------------------
 debian/gnuplot-x11.prerm    | 20 --------------------
 7 files changed, 176 deletions(-)

diff --git a/debian/gnuplot-nox.postinst b/debian/gnuplot-nox.postinst
deleted file mode 100644
index e460f37..0000000
--- a/debian/gnuplot-nox.postinst
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case $1 in
-    configure|abort-upgrade|abort-remove|abort-deconfigure)
-	# Do not use dh_installtex to help squeeze backports and avoid (light)
-	# tex-common dependency. See #600013: tex-common:
-	# dpkg-reconfigure doesn't work on packages calling update-texmf-config
-	if [ "$DPKG_RUNNING_VERSION" ]; then
-	    # If run under dpkg control call update-texmf-config, which
-	    # will enable appropriate triggers
-	    if which update-texmf-config 2>&1 > /dev/null; then
-		update-texmf-config lsr
-	    fi
-	else
-	    # Otherwise (e.g. on reconfigure) rebuild ls-R directly.
-	    if which mktexlsr 2>&1 > /dev/null; then
-		mktexlsr /usr/share/texmf
-	    fi
-	fi
-	;;
-    *)
-esac
-
-#DEBHELPER#
diff --git a/debian/gnuplot-nox.postrm b/debian/gnuplot-nox.postrm
deleted file mode 100644
index f685f5d..0000000
--- a/debian/gnuplot-nox.postrm
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-    remove|disappear)
-	# Do not use dh_installtex to help squeeze backports and avoid (light)
-	# tex-common dependency. See #600013: tex-common:
-	# dpkg-reconfigure doesn't work on packages calling update-texmf-config
-	if [ "$DPKG_RUNNING_VERSION" ]; then
-	    # If run under dpkg control call update-texmf-config, which
-	    # will enable appropriate triggers
-	    if which update-texmf-config 2>&1 > /dev/null; then
-		update-texmf-config lsr
-	    fi
-	else
-	    # Otherwise (e.g. on reconfigure) rebuild ls-R directly.
-	    if which mktexlsr 2>&1 > /dev/null; then
-		mktexlsr /usr/share/texmf
-	    fi
-	fi
-	;;
-    *)
-esac
-
-#DEBHELPER#
diff --git a/debian/gnuplot-qt.postinst b/debian/gnuplot-qt.postinst
deleted file mode 100644
index e460f37..0000000
--- a/debian/gnuplot-qt.postinst
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case $1 in
-    configure|abort-upgrade|abort-remove|abort-deconfigure)
-	# Do not use dh_installtex to help squeeze backports and avoid (light)
-	# tex-common dependency. See #600013: tex-common:
-	# dpkg-reconfigure doesn't work on packages calling update-texmf-config
-	if [ "$DPKG_RUNNING_VERSION" ]; then
-	    # If run under dpkg control call update-texmf-config, which
-	    # will enable appropriate triggers
-	    if which update-texmf-config 2>&1 > /dev/null; then
-		update-texmf-config lsr
-	    fi
-	else
-	    # Otherwise (e.g. on reconfigure) rebuild ls-R directly.
-	    if which mktexlsr 2>&1 > /dev/null; then
-		mktexlsr /usr/share/texmf
-	    fi
-	fi
-	;;
-    *)
-esac
-
-#DEBHELPER#
diff --git a/debian/gnuplot-qt.postrm b/debian/gnuplot-qt.postrm
deleted file mode 100644
index f685f5d..0000000
--- a/debian/gnuplot-qt.postrm
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-    remove|disappear)
-	# Do not use dh_installtex to help squeeze backports and avoid (light)
-	# tex-common dependency. See #600013: tex-common:
-	# dpkg-reconfigure doesn't work on packages calling update-texmf-config
-	if [ "$DPKG_RUNNING_VERSION" ]; then
-	    # If run under dpkg control call update-texmf-config, which
-	    # will enable appropriate triggers
-	    if which update-texmf-config 2>&1 > /dev/null; then
-		update-texmf-config lsr
-	    fi
-	else
-	    # Otherwise (e.g. on reconfigure) rebuild ls-R directly.
-	    if which mktexlsr 2>&1 > /dev/null; then
-		mktexlsr /usr/share/texmf
-	    fi
-	fi
-	;;
-    *)
-esac
-
-#DEBHELPER#
diff --git a/debian/gnuplot-x11.postinst b/debian/gnuplot-x11.postinst
deleted file mode 100644
index e460f37..0000000
--- a/debian/gnuplot-x11.postinst
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case $1 in
-    configure|abort-upgrade|abort-remove|abort-deconfigure)
-	# Do not use dh_installtex to help squeeze backports and avoid (light)
-	# tex-common dependency. See #600013: tex-common:
-	# dpkg-reconfigure doesn't work on packages calling update-texmf-config
-	if [ "$DPKG_RUNNING_VERSION" ]; then
-	    # If run under dpkg control call update-texmf-config, which
-	    # will enable appropriate triggers
-	    if which update-texmf-config 2>&1 > /dev/null; then
-		update-texmf-config lsr
-	    fi
-	else
-	    # Otherwise (e.g. on reconfigure) rebuild ls-R directly.
-	    if which mktexlsr 2>&1 > /dev/null; then
-		mktexlsr /usr/share/texmf
-	    fi
-	fi
-	;;
-    *)
-esac
-
-#DEBHELPER#
diff --git a/debian/gnuplot-x11.postrm b/debian/gnuplot-x11.postrm
deleted file mode 100644
index f685f5d..0000000
--- a/debian/gnuplot-x11.postrm
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-    remove|disappear)
-	# Do not use dh_installtex to help squeeze backports and avoid (light)
-	# tex-common dependency. See #600013: tex-common:
-	# dpkg-reconfigure doesn't work on packages calling update-texmf-config
-	if [ "$DPKG_RUNNING_VERSION" ]; then
-	    # If run under dpkg control call update-texmf-config, which
-	    # will enable appropriate triggers
-	    if which update-texmf-config 2>&1 > /dev/null; then
-		update-texmf-config lsr
-	    fi
-	else
-	    # Otherwise (e.g. on reconfigure) rebuild ls-R directly.
-	    if which mktexlsr 2>&1 > /dev/null; then
-		mktexlsr /usr/share/texmf
-	    fi
-	fi
-	;;
-    *)
-esac
-
-#DEBHELPER#
diff --git a/debian/gnuplot-x11.prerm b/debian/gnuplot-x11.prerm
deleted file mode 100644
index 36090c7..0000000
--- a/debian/gnuplot-x11.prerm
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if dpkg-divert --package gnuplot-x11 --list | grep -F /usr/bin/gnuplot-nox
-then
-    dpkg-divert --remove --package gnuplot-x11 --rename \
-        --divert /usr/bin/gnuplot-nox /usr/bin/gnuplot
-fi
-
-if dpkg-divert --package gnuplot-x11 --list | grep -F /usr/share/man/man1/gnuplot-nox.1.gz
-then
-    dpkg-divert --remove --package gnuplot-x11 --rename \
-        --divert /usr/share/man/man1/gnuplot-nox.1.gz \
-        /usr/share/man/man1/gnuplot.1.gz
-fi
-
-#DEBHELPER#
-
-exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gnuplot.git



More information about the debian-science-commits mailing list