fix paths and add right on install

This commit is contained in:
Hylke Bons 2010-04-27 22:35:35 +01:00
parent 8b3bf1f219
commit 1018f4256a
2 changed files with 4 additions and 2 deletions

View file

@ -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:

View file

@ -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