/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos.postinst

  • Committer: Teddy Hogeborn
  • Date: 2016-03-12 23:42:38 UTC
  • Revision ID: teddy@recompile.se-20160312234238-xdszntu18cfwife9
Server: Use python-gi instead of old python-gobject

The python-gobject module is old, deprecated, and replaced with the
python-gi (GObject Introspection) module; use that instead.

* debian/control (Source: mandos/Build-Depends-Indep): Change
  "python-gi | python-gobject" to "python-gi".
* mandos: Import "GLib" instead of "GObject"; change all users.
* mandos-monitor: - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                invoke-rc.d mandos start
49
49
            fi
50
50
        fi
51
 
        if ! dpkg-statoverride --list "/var/lib/mandos" >/dev/null \
52
 
             2>&1; then
53
 
            chown _mandos:_mandos /var/lib/mandos
54
 
            chmod u=rwx,go= /var/lib/mandos
55
 
        fi
 
51
        chown _mandos:_mandos /var/lib/mandos
56
52
        ;;
57
53
    
58
54
    abort-upgrade|abort-deconfigure|abort-remove)