216d9aefb7
- 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
18 lines
488 B
Text
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"
|