File: network-manager-openvpn.postrm

package info (click to toggle)
network-manager-openvpn 1.8.12-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,832 kB
  • sloc: ansic: 23,794; sh: 4,237; makefile: 341; xml: 6
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#