mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
3f98498439
- remove unused configure script - add missing pkg-install script - add line to pkg-plist to remove the 'quakerun' user on deinstall PR: 38733 Submitted by: Martin Perry <martin@raq.cx>
12 lines
223 B
Bash
12 lines
223 B
Bash
#!/bin/sh
|
|
|
|
case "$2" in
|
|
PRE-INSTALL)
|
|
if ! pw user show quakerun >/dev/null 2>&1
|
|
then
|
|
echo "===> Creating user quakerun"
|
|
pw add user quakerun -s /sbin/nologin -c "QuakeServer User" -d /nonexistent
|
|
fi
|
|
;;
|
|
esac
|