File: python3-opensnitch-ui.postrm

package info (click to toggle)
opensnitch 1.5.9-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,536 kB
  • sloc: ansic: 136,511; python: 6,597; sh: 204; makefile: 167; xml: 50
file content (16 lines) | stat: -rwxr-xr-x 302 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

case "$1" in
    purge)
	    deskfile=/etc/xdg/autostart/opensnitch_ui.desktop
        if [ -f $deskfile -o -h $deskfile ];then
	        rm -f /etc/xdg/autostart/opensnitch_ui.desktop
        fi
        ;;
    remove)
	    pkill -15 opensnitch-ui || true
        ;;
esac

#DEBHELPER#