From 1018f4256ac123e9e6b075b635a325764afc0bed Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 27 Apr 2010 22:35:35 +0100 Subject: [PATCH] fix paths and add right on install --- Makefile | 4 +++- src/sparklepony | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d77bcd56..736c94e3 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,9 @@ SparklePony.exe : src/SparklePony.cs install: mkdir -p /usr/share/local/sparklepony cp src/SparklePony.exe /usr/share/local/sparklepony/ - cp src/sparklepony /usr/bin/ + chmod 755 /usr/local/share/sparklepony/SparklePony.exe + cp src/sparklepony /usr/local/bin/ + chmod 755 /usr/local/bin/sparklepony cp data/icons /usr/share/ -R uninstall: diff --git a/src/sparklepony b/src/sparklepony index 2a194301..7d2eef50 100644 --- a/src/sparklepony +++ b/src/sparklepony @@ -1,7 +1,7 @@ #!/bin/bash if [[ "$1" == "start" ]]; then - mono /usr/share/sparklepony/SparklePony.exe + mono /usr/share/local/sparklepony/SparklePony.exe else if [[ "$1" == "stop" ]]; then # Stop SparklePony.exe