freebsd-ports/sysutils/scanmem/files/patch-gui-gameconqueror.in
Alexey Dokuchaev 216d9aefb7 - Use EXTRACT_SUFX instead of setting DISTNAME and WRKSRC
- Allow to build optional PyGTK-based GUI (GameConqueror)
- Now because package list can be long, utilize pkg-plist
- Provide better sounding COMMENT; amend port description
2014-08-29 05:29:10 +00:00

18 lines
488 B
Text

--- gui/gameconqueror.in.orig 2012-09-02 15:26:56 UTC
+++ gui/gameconqueror.in
@@ -1,13 +1,5 @@
-#!/bin/bash
+#!/bin/sh
DATADIR=@PKGDATADIR@
-if [[ "$(id -u)" != "0" ]]; then
- if [ -e "/usr/bin/gksu" ]; then
- exec gksu --description "GameConqueror" "python -OO $DATADIR/GameConqueror.py"
- else
- exec beesu - "python -OO $DATADIR/GameConqueror.py"
- fi
-else
- exec python -OO "$DATADIR/GameConqueror.py"
-fi
+exec python -OO "$DATADIR/GameConqueror.py"