summaryrefslogtreecommitdiff
path: root/sysutils/scanmem/files/patch-gui-gameconqueror.in
blob: c6e528dd84f8a417ee0b27db16aa42c5e64932a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- gui/gameconqueror.in.orig	2017-10-13 21:53:16 UTC
+++ gui/gameconqueror.in
@@ -1,10 +1,5 @@
-#!/bin/bash
+#!/bin/sh
 
 DATADIR=@PKGDATADIR@
 
-PKEXEC=$(command -v "pkexec")
-if [ -n "$PKEXEC" ]; then
-    $PKEXEC $DATADIR/GameConqueror.py "$@"
-else
-    echo "install policykit!"
-fi
+exec "$DATADIR/GameConqueror.py" "$@"