File: comitup.postinst

package info (click to toggle)
comitup 1.43-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,252 kB
  • sloc: python: 3,093; javascript: 1,261; sh: 95; makefile: 34
file content (19 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

case "$1" in
  configure)
    if [ -e /var/lib/comitup/comitup.json.save ] ; then
      mv -f /var/lib/comitup/comitup.json.save /var/lib/comitup/comitup.json
    fi

    if [ -e /etc/NetworkManager/dnsmasq-shared.d/nm-dns-sabotage.conf ] ; then
      rm -f /etc/NetworkManager/dnsmasq-shared.d/nm-dns-sabotage.conf
    fi
    ;;
esac

#DEBHELPER#

exit 0