diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2005-09-09 21:27:20 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2005-09-09 21:27:20 +0000 |
commit | 3e79eb1f163a62f1cc5a59c7b6bd76dc8c782cd3 (patch) | |
tree | 5f947cd89b4c3f837dc7f954b5d5dc4293d65cf6 /sysutils/sge62 | |
parent | bbb523844aa030cda7b80b3b024e618c670681e9 (diff) | |
download | ports-3e79eb1f163a62f1cc5a59c7b6bd76dc8c782cd3.tar.gz ports-3e79eb1f163a62f1cc5a59c7b6bd76dc8c782cd3.zip |
Notes
Diffstat (limited to 'sysutils/sge62')
-rw-r--r-- | sysutils/sge62/pkg-install | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sysutils/sge62/pkg-install b/sysutils/sge62/pkg-install deleted file mode 100644 index 906599084f2e..000000000000 --- a/sysutils/sge62/pkg-install +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -u=sgeadmin -g=sgeadmin -ugid=103 -homedir=/nonexistent -shell=/sbin/nologin -comment="Sun Grid Engine Admin" - -case $2 in -PRE-INSTALL) - if pw group show "${g}" >/dev/null 2>&1; then - echo "Using existing group \"${g}\"." - else - echo "Creating group \"${g}\", (gid: ${ugid})." - pw groupadd ${g} -g ${ugid} - if [ $? != 0 ]; then - echo "Failed to add group \"${g}\"." - exit 1 - fi - fi - if pw user show "${u}" >/dev/null 2>&1; then - echo "Using existing user \"${u}\"." - else - echo "Creating user \"${u}\", (uid: ${ugid})." - pw useradd ${u} -u ${ugid} -g ${ugid} -h - \ - -d ${homedir} -s ${shell} -c "${comment}" - if [ $? != 0 ]; then - echo "Failed to add user \"${u}\"." - exit 1 - fi - fi - ;; -esac |