aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gnokii/pkg-install
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-11-14 02:28:39 +0800
committermnag <mnag@FreeBSD.org>2005-11-14 02:28:39 +0800
commit51a2318a9d5fa9a5493cf7f378072f63032d1d20 (patch)
tree6505908824ede39b63ba05b7117cadc5c6e1bf82 /comms/gnokii/pkg-install
parentea2ab99f4a92e89c2f97e608d4fa6db3aae1a203 (diff)
downloadfreebsd-ports-gnome-51a2318a9d5fa9a5493cf7f378072f63032d1d20.tar.gz
freebsd-ports-gnome-51a2318a9d5fa9a5493cf7f378072f63032d1d20.tar.zst
freebsd-ports-gnome-51a2318a9d5fa9a5493cf7f378072f63032d1d20.zip
Update to 0.6.10
Add SHA256 PR: 88921 Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
Diffstat (limited to 'comms/gnokii/pkg-install')
-rw-r--r--comms/gnokii/pkg-install6
1 files changed, 5 insertions, 1 deletions
diff --git a/comms/gnokii/pkg-install b/comms/gnokii/pkg-install
index 95419f079104..de143b544a51 100644
--- a/comms/gnokii/pkg-install
+++ b/comms/gnokii/pkg-install
@@ -5,7 +5,11 @@ PATH=/bin:/usr/bin:/usr/sbin
GROUP=gnokii
SUIDBINS="${PKG_PREFIX}/sbin/gnokiid ${PKG_PREFIX}/sbin/mgnokiidev"
-BINS="${PKG_PREFIX}/bin/gnokii ${PKG_PREFIX}/bin/xgnokii ${SUIDBINS}"
+BINS="${PKG_PREFIX}/bin/gnokii ${SUIDBINS}"
+
+if [ -e ${PKG_PREFIX}/bin/xgnokii ]; then
+ BINS="$BINS ${PKG_PREFIX}/bin/xgnokii"
+fi
case "$2" in
"PRE-INSTALL")