mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
20 lines
341 B
Bash
20 lines
341 B
Bash
#!/bin/sh
|
|
|
|
PATH=/bin:/usr/bin:/usr/sbin
|
|
|
|
SUIDBINS="${PKG_PREFIX}/sbin/gnokiid ${PKG_PREFIX}/sbin/mgnokiidev"
|
|
BINS="${PKG_PREFIX}/bin/gnokii ${SUIDBINS}"
|
|
|
|
if [ -e ${PKG_PREFIX}/bin/xgnokii ]; then
|
|
BINS="$BINS ${PKG_PREFIX}/bin/xgnokii"
|
|
fi
|
|
|
|
case "$2" in
|
|
"POST-INSTALL")
|
|
chgrp gnokii $BINS
|
|
chmod 750 ${BINS}
|
|
chmod u+s ${SUIDBINS}
|
|
;;
|
|
|
|
esac
|