[SCM] "Network Management" Plasma widget Debian packaging branch, master, updated. debian/0.9-git20110904.06145dc-1-5-g4f57362

Michael Biebl biebl at alioth.debian.org
Sat Sep 17 20:10:05 UTC 2011


The following commit has been merged in the master branch:
commit 16020993f2baef38893784535e8c411e49adea7d
Author: Michael Biebl <biebl at debian.org>
Date:   Sat Sep 17 21:19:55 2011 +0200

    On upgrades tell update-notifier to show a reboot-required notification
    
    since older versions of plasma-widget-networkmanagement will no longer
    work with network-manager 0.9 and need to be restarted.
---
 debian/changelog                                |    3 +++
 debian/plasma-widget-networkmanagement.postinst |   12 ++++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 82d4356..57f3d3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ networkmanagement (0.9~git20110916.28b3101-1) UNRELEASED; urgency=low
 
   * New upstream Git snapshot 28b3101aa4a25dc15e13fed926aff27d62d9346c from
     the nm09 branch.
+  * On upgrades tell update-notifier to show a reboot-required notification
+    since older versions of plasma-widget-networkmanagement will no longer
+    work with network-manager 0.9 and need to be restarted.
 
  -- Michael Biebl <biebl at debian.org>  Sat, 17 Sep 2011 21:16:00 +0200
 
diff --git a/debian/plasma-widget-networkmanagement.postinst b/debian/plasma-widget-networkmanagement.postinst
new file mode 100644
index 0000000..a0adadf
--- /dev/null
+++ b/debian/plasma-widget-networkmanagement.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 0.9~git20110916.28b3101-1 ; then
+    [ -x /usr/share/update-notifier/notify-reboot-required ] && \
+        /usr/share/update-notifier/notify-reboot-required || true
+fi
+
+#DEBHELPER#
+
+exit 0

-- 
"Network Management" Plasma widget Debian packaging



More information about the pkg-kde-commits mailing list