diff options
Diffstat (limited to 'astro/squeuer/pkg-deinstall')
-rw-r--r-- | astro/squeuer/pkg-deinstall | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/astro/squeuer/pkg-deinstall b/astro/squeuer/pkg-deinstall new file mode 100644 index 000000000000..7ec4b35277a9 --- /dev/null +++ b/astro/squeuer/pkg-deinstall @@ -0,0 +1,15 @@ +#!/bin/sh +# $FreeBSD$ +# + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +USER=squeuer + +if pw usershow "${USER}" 2>/dev/null 1>&2; then + echo "To delete SQueuer user permanently, use 'pw userdel ${USER}'" +fi + +exit 0 |