diff options
Diffstat (limited to 'www/interchange/pkg-deinstall')
-rw-r--r-- | www/interchange/pkg-deinstall | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/interchange/pkg-deinstall b/www/interchange/pkg-deinstall new file mode 100644 index 000000000000..138dbbe1bb41 --- /dev/null +++ b/www/interchange/pkg-deinstall @@ -0,0 +1,16 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +USER=interch + +# Don't delete it, there may be ${USER} owned files around. +pw usershow "${USER}" >/dev/null 2>&1 \ + && echo -e "*\n* To delete the user '${USER}' use 'pw userdel ${USER}'.\n*" + +exit 0 |