forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
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"
|