diff options
Diffstat (limited to 'databases/postgresql90-server/pkg-deinstall')
-rw-r--r-- | databases/postgresql90-server/pkg-deinstall | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/postgresql90-server/pkg-deinstall b/databases/postgresql90-server/pkg-deinstall new file mode 100644 index 000000000000..9e1fa3121dc0 --- /dev/null +++ b/databases/postgresql90-server/pkg-deinstall @@ -0,0 +1,12 @@ +#!/bin/sh + +# remove postgresql users + +case $2 in + +POST-DEINSTALL) + pw groupdel pgsql + pw userdel pgsql + ;; + +esac |