File: network-manager-openvpn.postrm

package info (click to toggle)
network-manager-openvpn 1.2.8-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,528 kB
  • ctags: 1,107
  • sloc: ansic: 11,020; sh: 4,196; makefile: 305
file content (12 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = purge ]; then
    if [ -x "$(command -v deluser)" ]; then
        deluser --quiet --system nm-openvpn > /dev/null || true
    fi
    rm -rf /var/lib/openvpn/chroot
fi

#DEBHELPER#