mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
b1b11d0887
PR: ports/157545 Submitted by: Chris Rees [utisoft gmail com] Approved by: maintainer
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 $GROUP $BINS
|
|
chmod 750 ${BINS}
|
|
chmod u+s ${SUIDBINS}
|
|
;;
|
|
|
|
esac
|