[Pkg-urxvt-maintainers] [SCM] Git repository for pkg-urxvt branch, master, updated. debian/9.22-1-28-ge909968

Ryan Kavanagh rak at moszumanska.debian.org
Thu Jan 4 19:26:18 UTC 2018


Gitweb-URL: http://git.debian.org/?p=pkg-kde//srv/git.debian.org/git/pkg-urxvt/pkg-urxvt.git;a=commitdiff;h=b7947c5

The following commit has been merged in the master branch:
commit b7947c59638bcc412b411f2b797376f8d4e80548
Author: Ryan Kavanagh <rak at debian.org>
Date:   Mon Jan 1 16:49:39 2018 -0500

    Add links and remove alternatives for rxvt
---
 debian/rxvt-ml.links   | 10 ++++++++++
 debian/rxvt-ml.preinst | 20 ++++++++++++++++++++
 debian/rxvt.links      |  4 ++++
 debian/rxvt.preinst    | 19 +++++++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/debian/rxvt-ml.links b/debian/rxvt-ml.links
new file mode 100644
index 0000000..ba3f243
--- /dev/null
+++ b/debian/rxvt-ml.links
@@ -0,0 +1,10 @@
+usr/bin/urxvt usr/bin/crxvt
+usr/bin/urxvt usr/bin/crxvt-big5
+usr/bin/urxvt usr/bin/crxvt-gb
+usr/bin/urxvt usr/bin/grxvt
+usr/bin/urxvt usr/bin/krxvt
+usr/share/man/man1/urxvt.1.gz usr/share/man/man1/crxvt-big5.1.gz
+usr/share/man/man1/urxvt.1.gz usr/share/man/man1/crxvt-gb.1.gz
+usr/share/man/man1/urxvt.1.gz usr/share/man/man1/crxvt.1.gz
+usr/share/man/man1/urxvt.1.gz usr/share/man/man1/grxvt.1.gz
+usr/share/man/man1/urxvt.1.gz usr/share/man/man1/krxvt.1.gz
diff --git a/debian/rxvt-ml.preinst b/debian/rxvt-ml.preinst
new file mode 100644
index 0000000..33e82c1
--- /dev/null
+++ b/debian/rxvt-ml.preinst
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+set -e
+
+case $1 in
+    upgrade)
+        # We're transitioning from an ancient version of rxvt to something
+        # post-transition.
+        if dpkg --compare-versions $2 lt 1:2.7.10-7.1+urxvt9.22-2; then
+            update-alternatives --remove x-terminal-emulator /usr/bin/crxvt
+            update-alternatives --remove x-terminal-emulator /usr/bin/krxvt
+            update-alternatives --remove x-terminal-emulator /usr/bin/grxvt
+        fi
+        ;;
+    *)
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rxvt.links b/debian/rxvt.links
new file mode 100644
index 0000000..91554d7
--- /dev/null
+++ b/debian/rxvt.links
@@ -0,0 +1,4 @@
+usr/bin/urxvt usr/bin/rxvt-xpm
+usr/bin/urxvt usr/bin/rxvt-xterm
+usr/share/man/man1/urxvt.1.gz usr/share/man/man1/rxvt-xpm.1.gz
+usr/share/man/man1/urxvt.1.gz usr/share/man/man1/rxvt-xterm.1.gz
diff --git a/debian/rxvt.preinst b/debian/rxvt.preinst
new file mode 100644
index 0000000..d53fdc5
--- /dev/null
+++ b/debian/rxvt.preinst
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+set -e
+
+case $1 in
+    upgrade)
+        # We're transitioning from an ancient version of rxvt to something
+        # post-transition.
+        if dpkg --compare-versions $2 lt 1:2.7.10-7.1+urxvt9.22-2; then
+            update-alternatives --remove x-terminal-emulator /usr/bin/rxvt-xpm
+            update-alternatives --remove x-terminal-emulator /usr/bin/rxvt-xterm
+        fi
+        ;;
+    *)
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0

-- 
Git repository for pkg-urxvt



More information about the Pkg-urxvt-maintainers mailing list