Debian Codegraph @

debian/comitup.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6 configure)
7 if [ -e /var/lib/comitup/comitup.json.save ] ; then
8 mv -f /var/lib/comitup/comitup.json.save /var/lib/comitup/comitup.json
9 fi
10
11 if [ -e /etc/NetworkManager/dnsmasq-shared.d/nm-dns-sabotage.conf ] ; then
12 rm -f /etc/NetworkManager/dnsmasq-shared.d/nm-dns-sabotage.conf
13 fi
14 ;;
15 esac
16
17 #DEBHELPER#
18
19 exit 0