[Pkg-utopia-commits] r1097 - packages/unstable/networkmanager/debian
Michael Biebl
biebl at costa.debian.org
Tue Oct 24 12:40:46 UTC 2006
Author: biebl
Date: 2006-10-24 12:40:46 +0000 (Tue, 24 Oct 2006)
New Revision: 1097
Modified:
packages/unstable/networkmanager/debian/changelog
packages/unstable/networkmanager/debian/control
packages/unstable/networkmanager/debian/network-manager.postinst
Log:
* Create group netdev in postinst and add a Depends on adduser.
* Cleanup indentation.
Modified: packages/unstable/networkmanager/debian/changelog
===================================================================
--- packages/unstable/networkmanager/debian/changelog 2006-10-24 12:31:37 UTC (rev 1096)
+++ packages/unstable/networkmanager/debian/changelog 2006-10-24 12:40:46 UTC (rev 1097)
@@ -1,8 +1,10 @@
network-manager (0.6.4-4) unstable; urgency=low
* Correct typo in package description. (Closes: #390062)
+ * debian/network-manager.postinst
+ - Create group netdev if not yet existent. Add a Depends on adduser.
- -- Michael Biebl <biebl at teco.edu> Fri, 29 Sep 2006 13:18:02 +0200
+ -- Michael Biebl <biebl at debian.org> Tue, 24 Oct 2006 14:32:54 +0200
network-manager (0.6.4-3) unstable; urgency=low
Modified: packages/unstable/networkmanager/debian/control
===================================================================
--- packages/unstable/networkmanager/debian/control 2006-10-24 12:31:37 UTC (rev 1096)
+++ packages/unstable/networkmanager/debian/control 2006-10-24 12:40:46 UTC (rev 1097)
@@ -8,7 +8,7 @@
Package: network-manager
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, iproute, iputils-arping, dhcdbd (>=1.12-2), lsb-base (>= 2.0-6), wpasupplicant (>= 0.4.8), dbus (>= 0.60), hal (>=0.5.7.1), ifupdown
+Depends: ${shlibs:Depends}, ${misc:Depends}, iproute, iputils-arping, dhcdbd (>=1.12-2), lsb-base (>= 2.0-6), wpasupplicant (>= 0.4.8), dbus (>= 0.60), hal (>=0.5.7.1), ifupdown, adduser
Description: network management framework daemon
NetworkManager attempts to keep an active network connection available at all
times. It is intended only for the desktop use-case, and is not intended for
Modified: packages/unstable/networkmanager/debian/network-manager.postinst
===================================================================
--- packages/unstable/networkmanager/debian/network-manager.postinst 2006-10-24 12:31:37 UTC (rev 1096)
+++ packages/unstable/networkmanager/debian/network-manager.postinst 2006-10-24 12:40:46 UTC (rev 1097)
@@ -1,20 +1,27 @@
#!/bin/sh
+
set -e
case "$1" in
- configure)
- if [ -x "/etc/init.d/dbus" ]; then
- invoke-rc.d dbus force-reload || true
- fi
+ configure)
+ if ! getent group netdev > /dev/null; then
+ addgroup --quiet --system netdev
+ fi
+
+ if [ -x "/etc/init.d/dbus" ]; then
+ invoke-rc.d dbus force-reload || true
+ fi
- if [ -x "/etc/dbus-1/event.d/25NetworkManager" ]; then
- /etc/dbus-1/event.d/25NetworkManager restart
- fi
+ if [ -x "/etc/dbus-1/event.d/25NetworkManager" ]; then
+ /etc/dbus-1/event.d/25NetworkManager restart
+ fi
- if [ -x "/etc/dbus-1/event.d/26NetworkManagerDispatcher" ]; then
- /etc/dbus-1/event.d/26NetworkManagerDispatcher restart
- fi
- ;;
+ if [ -x "/etc/dbus-1/event.d/26NetworkManagerDispatcher" ]; then
+ /etc/dbus-1/event.d/26NetworkManagerDispatcher restart
+ fi
+ ;;
esac
#DEBHELPER#
+
+exit 0
More information about the Pkg-utopia-commits
mailing list