[SCM] marco Debian package branch, master, updated. debian/1.8.0+dfsg1-3-3-g8f328ef
Mike Gabriel
sunweaver at moszumanska.debian.org
Mon May 5 13:07:16 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-mate/marco.git;a=commitdiff;h=774b707
The following commit has been merged in the master branch:
commit 774b707ef38e0ee3fdf60069c9e9a9ea81d527fd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon May 5 14:36:06 2014 +0200
postinst/prerm: Register marco as x-window-manager with Debian's alternatives system.
---
debian/marco.postinst | 12 ++++++++++++
debian/marco.prerm | 9 +++++++++
2 files changed, 21 insertions(+)
diff --git a/debian/marco.postinst b/debian/marco.postinst
new file mode 100755
index 0000000..42cc113
--- /dev/null
+++ b/debian/marco.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ update-alternatives --install /usr/bin/x-window-manager \
+ x-window-manager /usr/bin/marco 30 \
+ --slave /usr/share/man/man1/x-window-manager.1.gz \
+ x-window-manager.1.gz /usr/share/man/man1/marco.1.gz
+fi
+
+#DEBHELPER#
diff --git a/debian/marco.prerm b/debian/marco.prerm
new file mode 100755
index 0000000..2a7d93e
--- /dev/null
+++ b/debian/marco.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+ update-alternatives --remove x-session-manager /usr/bin/mate-session
+fi
+
+#DEBHELPER#
--
marco Debian package
More information about the pkg-mate-commits
mailing list