Remove obsolete bits from linux packaging

This commit is contained in:
Paul Chote
2011-07-28 00:27:12 +12:00
committed by Chris Forbes
parent 21197c702e
commit 5d3ed6aa6a
3 changed files with 1 additions and 12 deletions

View File

@@ -1,10 +0,0 @@
#!/bin/bash
# OpenRA utility wrapper for linux systems with zenity
if [[ "$1" == "--display-filepicker" ]]; then
if command -v zenity > /dev/null ; then
zenity --file-selection --title "$2"
else
mono OpenRA.Utility.exe "$@"
fi
fi

View File

@@ -20,7 +20,6 @@ mkdir -p $ROOTDIR/usr/bin/
cp -T openra-bin $ROOTDIR/usr/bin/openra
mkdir -p $ROOTDIR/usr/share/openra/
cp -R $BUILTDIR/* "$ROOTDIR/usr/share/openra/" || exit 3
cp OpenRA.Utility.sh $ROOTDIR/usr/share/openra/
# Desktop Icons
mkdir -p $ROOTDIR/usr/share/applications/

View File

@@ -1,3 +1,3 @@
#!/bin/sh
cd /usr/share/openra
mono OpenRA.Game.exe SupportDir=~/.openra UtilityPath=OpenRA.Utility.sh "$@"
mono OpenRA.Game.exe "$@"