diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1999-04-16 17:45:02 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1999-04-16 17:45:02 +0000 |
commit | 4d5c7062709dff0e886fb3bcc3b6328e9bbc6b8d (patch) | |
tree | f61ddfea49638f199f9d8f4abaadd5ecc083892c /japanese/postgresql-tcltk/pkg-install | |
parent | Upgrade to 6.4.2. (diff) |
Pass PKGNAME as well to the INSTALL script.
Notes
Notes:
svn path=/head/; revision=17930
Diffstat (limited to '')
-rw-r--r-- | japanese/postgresql-tcltk/pkg-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/postgresql-tcltk/pkg-install b/japanese/postgresql-tcltk/pkg-install index e589ba9ef351..1fb5e347efe5 100644 --- a/japanese/postgresql-tcltk/pkg-install +++ b/japanese/postgresql-tcltk/pkg-install @@ -48,7 +48,7 @@ yesno() { done } -case $1 in +case $2 in PRE-INSTALL) ## Hack /etc/master.passwd ## @@ -88,7 +88,7 @@ EOF if yesno "Would you like to create it automatically?" y; then # We need a command 'pw(8)' check_pw - pw useradd ${PGSQL_UID} -u 70 -g ${PGSQL_GID} -h - -d /usr/local/${INSTALL_DIR} \ + pw useradd ${PGSQL_UID} -u 70 -g ${PGSQL_GID} -h - -d ${PKG_PREFIX}/${INSTALL_DIR} \ -s /bin/sh -c "PostgreSQL pseudo-user" || exit else echo "Please create it, and try again." |