~ubuntu-branches/ubuntu/vivid/wicd/vivid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2009-02-08 14:57:56 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090208145756-3arymyctltokm5gi
Tags: 1.5.9-1
* New upstream release:
  - Fixed security hole in DBus configuration file
  - Fixed the TTLS template
* debian/patches/:
  - 05-fix_DBus_policy.patch added, allow only members of the netdev
    group to configure wicd (Closes: #512160)
* debian/postinst: add group "netdev", which will be the only one able
  to configure wicd
* debian/control: added dependency on adduser
* debian/NEWS.Debian and debian/docs added, explain the new permissions
  policy

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
case "$1" in
22
22
    configure)
 
23
        if [ ! $(getent group netdev) ]; then
 
24
                adduser --quiet --system netdev
 
25
        fi
23
26
        if [ -x "/etc/init.d/dbus" ]; then
24
27
            if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
25
28
                invoke-rc.d dbus force-reload || exit $?