[DHG_packages] 06/06: also add gnome-flashback-xmonad as an alternative to x-session-manager
Per Olofsson
pelle at moszumanska.debian.org
Sun Sep 6 17:45:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
pelle pushed a commit to branch master
in repository DHG_packages.
commit cf664fbad3862028a3a7a200ec45475ae09ceb97
Author: Per Olofsson <pelle at pqz.se>
Date: Sun Sep 6 18:50:48 2015 +0200
also add gnome-flashback-xmonad as an alternative to x-session-manager
---
p/xmonad/debian/changelog | 3 ++-
p/xmonad/debian/xmonad.postinst | 5 +++++
p/xmonad/debian/xmonad.prerm | 1 +
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/p/xmonad/debian/changelog b/p/xmonad/debian/changelog
index 36d6ddb..5040c93 100644
--- a/p/xmonad/debian/changelog
+++ b/p/xmonad/debian/changelog
@@ -4,7 +4,8 @@ xmonad (0.11.1-3) UNRELEASED; urgency=medium
- Add NEWS.Debian entry describing the change.
- Add instructions to README.Debian.
- Add lintian override for DesktopNames key in session desktop file.
- * Add alternative xmonad-session to x-session-manager. Closes: #681153.
+ * Add alternatives xmonad-session and gnome-flashback-xmonad to
+ x-session-manager. Closes: #681153.
* Bump Standards-Version to 3.9.6 (no changes).
* Add myself to Uploaders.
* Change distribution from UNRELEASED to unstable in old NEWS.Debian
diff --git a/p/xmonad/debian/xmonad.postinst b/p/xmonad/debian/xmonad.postinst
index 1ae5d8e..70a6248 100644
--- a/p/xmonad/debian/xmonad.postinst
+++ b/p/xmonad/debian/xmonad.postinst
@@ -7,6 +7,11 @@ if [ "$1" = configure ]; then
/usr/bin/xmonad-session 20 \
--slave /usr/share/man/man1/x-session-manager.1.gz \
x-session-manager.1.gz /usr/share/man/man1/xmonad-session.1.gz
+ update-alternatives \
+ --install /usr/bin/x-session-manager x-session-manager \
+ /usr/bin/gnome-flashback-xmonad 15 \
+ --slave /usr/share/man/man1/x-session-manager.1.gz \
+ x-session-manager.1.gz /usr/share/man/man1/gnome-flashback-xmonad.1.gz
fi
#DEBHELPER#
diff --git a/p/xmonad/debian/xmonad.prerm b/p/xmonad/debian/xmonad.prerm
index 53255da..6c12c0b 100644
--- a/p/xmonad/debian/xmonad.prerm
+++ b/p/xmonad/debian/xmonad.prerm
@@ -2,6 +2,7 @@
set -e
if [ "$1" = remove ]; then
+ update-alternatives --remove x-session-manager /usr/bin/gnome-flashback-xmonad
update-alternatives --remove x-session-manager /usr/bin/xmonad-session
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list