aboutsummaryrefslogtreecommitdiffstats
path: root/games/pink-pony/files/pink-pony.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'games/pink-pony/files/pink-pony.sh.in')
-rw-r--r--games/pink-pony/files/pink-pony.sh.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/pink-pony/files/pink-pony.sh.in b/games/pink-pony/files/pink-pony.sh.in
index 06a00570a4e4..1840277b573c 100644
--- a/games/pink-pony/files/pink-pony.sh.in
+++ b/games/pink-pony/files/pink-pony.sh.in
@@ -1,12 +1,12 @@
#!/bin/sh
if [ "$#" -ge 1 ]; then
- exec %%PREFIX%%/libexec/Pony "$*"
+ exec %%PREFIX%%/libexec/Pony "$*"
else
- if [ ! -f ~/.config/pony.options ]; then
- mkdir -p ~/.config/
- cp %%DATADIR%%/pony.options ~/.config/pony.options
- chmod u+w ~/.config/pony.options
- fi
- exec %%PREFIX%%/libexec/Pony ~/.config/pony.options
+ if [ ! -f ~/.config/pony.options ]; then
+ mkdir -p ~/.config/
+ cp -af %%DATADIR%%/pony.options ~/.config/pony.options
+ chmod u+w ~/.config/pony.options
+ fi
+ exec %%PREFIX%%/libexec/Pony ~/.config/pony.options
fi