mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Fix output
This commit is contained in:
parent
df9ca56f4d
commit
1510f516a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143081
@ -11,18 +11,18 @@ POST-INSTALL)
|
||||
GID=72
|
||||
|
||||
if pw groupshow "${GROUP}" > /dev/null 2>&1; then
|
||||
echo '===> Using existing group "${GROUP}"'
|
||||
echo "===> Using existing group ${GROUP}"
|
||||
else
|
||||
echo '===> Adding group "${GROUP}"'
|
||||
echo "===> Adding group ${GROUP}"
|
||||
pw groupadd ${GROUP} -g ${GID} || exit 1
|
||||
fi
|
||||
|
||||
if pw usershow "${USER}" > /dev/null 2>&1; then
|
||||
echo '===> Using existing user "${USER}"'
|
||||
echo "===> Using existing user ${USER}"
|
||||
else
|
||||
echo '===> Adding user "${USER}"'
|
||||
echo "===> Adding user ${USER}"
|
||||
pw adduser ${USER} -u ${UID} -g ${GROUP} -h - -d "/nonexistent" \
|
||||
-s "/nonexistent" -c "IRC daemon" || exit 1
|
||||
fi
|
||||
-s "/nonexistent" -c "IRC daemon" || exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user