429d8d4a88
- pkg-install used wrong uid# - chown lib dir *after* it is created - pkg-install created data dir where Makefile didn't - add pkg-deinstall and remove user & group - don't chown data dir, since we don't create it anymore - spell and documentation fixes in the rc.d script PR: ports/25817 Submitted by: MAINTAINER
13 lines
114 B
Bash
13 lines
114 B
Bash
#!/bin/sh
|
|
|
|
# remove postgresql users
|
|
|
|
case $2 in
|
|
|
|
POST-DEINSTALL)
|
|
pw groupdel pgsql
|
|
pw userdel pgsql
|
|
;;
|
|
|
|
esac
|