diff options
author | jylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-18 23:18:22 +0800 |
---|---|---|
committer | jylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-18 23:18:22 +0800 |
commit | a26881be5a30de8c973503fa11ee8b2e7c173a0d (patch) | |
tree | 93bbc81a2a6a659b2c5085d626eea1be6bf7176e /sysutils/hal/pkg-install | |
parent | 399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1 (diff) | |
download | marcuscom-ports-a26881be5a30de8c973503fa11ee8b2e7c173a0d.tar marcuscom-ports-a26881be5a30de8c973503fa11ee8b2e7c173a0d.tar.gz marcuscom-ports-a26881be5a30de8c973503fa11ee8b2e7c173a0d.tar.bz2 marcuscom-ports-a26881be5a30de8c973503fa11ee8b2e7c173a0d.tar.lz marcuscom-ports-a26881be5a30de8c973503fa11ee8b2e7c173a0d.tar.xz marcuscom-ports-a26881be5a30de8c973503fa11ee8b2e7c173a0d.tar.zst marcuscom-ports-a26881be5a30de8c973503fa11ee8b2e7c173a0d.zip |
Fix packing list and preserve .privilege file changes across updates.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6296 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/hal/pkg-install')
-rw-r--r-- | sysutils/hal/pkg-install | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sysutils/hal/pkg-install b/sysutils/hal/pkg-install deleted file mode 100644 index dfba18feb..000000000 --- a/sysutils/hal/pkg-install +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - USER=haldaemon - GROUP=${USER} - UID=560 - GID=${UID} - PW=/usr/sbin/pw - - if ${PW} group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if ${PW} groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if ${PW} user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d "/nonexistent" -s /sbin/nologin -c "HAL Daemon User" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - - /usr/bin/install -d -o ${USER} -g ${GROUP} /var/run/hald - exit 0 - ;; -esac |