aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-09-10 05:27:20 +0800
committerbrooks <brooks@FreeBSD.org>2005-09-10 05:27:20 +0800
commitb091d8fa9861678ce652d9304e7338688d831aa5 (patch)
tree74d94af3c5e2a69f9d8f48fe555fdb2eb69148fc /sysutils
parent3bbd5abddc172d53935b695fefc8baad3c9969ef (diff)
downloadfreebsd-ports-gnome-b091d8fa9861678ce652d9304e7338688d831aa5.tar.gz
freebsd-ports-gnome-b091d8fa9861678ce652d9304e7338688d831aa5.tar.zst
freebsd-ports-gnome-b091d8fa9861678ce652d9304e7338688d831aa5.zip
Remove pkg-install in favor of files/pkg-install.in added in last
update.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sge/pkg-install34
-rw-r--r--sysutils/sge60/pkg-install34
-rw-r--r--sysutils/sge61/pkg-install34
-rw-r--r--sysutils/sge62/pkg-install34
4 files changed, 0 insertions, 136 deletions
diff --git a/sysutils/sge/pkg-install b/sysutils/sge/pkg-install
deleted file mode 100644
index 906599084f2e..000000000000
--- a/sysutils/sge/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
diff --git a/sysutils/sge60/pkg-install b/sysutils/sge60/pkg-install
deleted file mode 100644
index 906599084f2e..000000000000
--- a/sysutils/sge60/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
diff --git a/sysutils/sge61/pkg-install b/sysutils/sge61/pkg-install
deleted file mode 100644
index 906599084f2e..000000000000
--- a/sysutils/sge61/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
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