File: python3-opensnitch-ui.postrm

package info (click to toggle)
opensnitch 1.6.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,980 kB
  • sloc: python: 12,604; ansic: 1,965; sh: 435; makefile: 239; xml: 50; sql: 3
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#