File script.patch of Package pink-pony
Index: pink-pony-1.3.1/install/pink-pony
===================================================================
--- pink-pony-1.3.1.orig/install/pink-pony 2013-09-13 00:05:27.000000000 +0200
+++ pink-pony-1.3.1/install/pink-pony 2013-09-13 00:05:29.000000000 +0200
@@ -1,14 +1,18 @@
#!/bin/sh
-cd /usr/share/pink-pony
+OLD_DIR="`pwd`"
+
+cd /usr/share/pink-pony
if [ $# -ge 1 ]; then
- /usr/lib/Pony $1
+ /usr/lib/pink-pony/pink-pony.bin "$1"
else
- if [ ! -f ~/.config/pony.options ]; then
- mkdir -p ~/.config/
- cp /etc/pony.options ~/.config/pony.options
- fi
-
- /usr/lib/Pony ~/.config/pony.options
-fi
\ No newline at end of file
+ if [ ! -f ~/.config/pony.options ]; then
+ mkdir -p ~/.config/
+ cp /usr/share/pink-pony/pony.options ~/.config/pony.options
+ fi
+
+ /usr/lib/pink-pony/pink-pony.bin ~/.config/pony.options
+fi
+
+cd "$OLD_DIR"