From 6fd0a8f929956b2ca17a29df6455c75eed5cd090 Mon Sep 17 00:00:00 2001 From: aerkefiende Date: Sun, 10 Nov 2013 16:37:47 +0000 Subject: [PATCH] Deleted install.sh as it doesn't work as it should Updated assaultcube.sh for release (wrong config directory) git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7650 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- assaultcube.sh | 3 +- install.sh | 199 ------------------------------------------------- 2 files changed, 1 insertion(+), 201 deletions(-) delete mode 100755 install.sh diff --git a/assaultcube.sh b/assaultcube.sh index 30e73143..addc3e14 100755 --- a/assaultcube.sh +++ b/assaultcube.sh @@ -8,8 +8,7 @@ CUBE_DIR=$(dirname "$(readlink -f "${0}")") # CUBE_OPTIONS starts AssaultCube with any command line options you choose. #CUBE_OPTIONS="-f" -CUBE_OPTIONS="--home=${HOME}/.assaultcube_svn --init" -#CUBE_OPTIONS="--home=${HOME}/.assaultcube_v1.2 --init" +CUBE_OPTIONS="--home=${HOME}/.assaultcube_v1.2 --init" # SYSTEM_NAME should be set to the name of your operating system. #SYSTEM_NAME=Linux diff --git a/install.sh b/install.sh deleted file mode 100755 index b47c4cee..00000000 --- a/install.sh +++ /dev/null @@ -1,199 +0,0 @@ -#!/bin/bash -#Configures the environment for the *nix users. - -ac_version=1.2.0.0 -ac_dir=$(dirname "$(readlink -f "${0}")") -ac_exec=assaultcube.sh -ac_menupath=~/.local/share/applications -ac_desktoppath=~/Desktop -ac_entryfile=assaultcube.desktop -ac_desktop=undefined - -GetDesktop() -{ - case "${DESKTOP_SESSION}" in - gnome) - ac_desktop="Gnome" - ;; - *) - ac_desktop="undefined" - ;; - esac -} -existDesktopEntry() -{ - if [ -f "${ac_desktoppath}/${ac_entryfile}" ]; then - ac_existdesktopentry="X" - else - ac_existdesktopentry=" " - fi -} -existMenuEntry() -{ - if [ -f "${ac_menupath}/${ac_entryfile}" ]; then - ac_existmenuentry="X" - else - ac_existmenuentry=" " - fi -} -existProtocol() -{ - ac_existprotocol=" " -} -installDesktopEntry() -{ - mkdir -pv "${ac_desktoppath}" - cat > "${ac_desktoppath}/${ac_entryfile}" < "${ac_menupath}/${ac_entryfile}" <