summaryrefslogtreecommitdiff
path: root/sysutils/scanmem/files/patch-gui-gameconqueror.in
blob: 313202046b18e883c112c08c5aa41d7a68c75903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 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"