--- xtoys.orig	2009-02-07 14:48:26.000000000 -0600
+++ xtoys	2012-09-07 02:02:18.000000000 -0500
@@ -1,17 +1,17 @@
 #!/bin/bash
 #
-# /usr/bin/X11/xtoys -- puts a random cuddly toy onto desktop
+# __PREFIX__/bin/X11/xtoys -- puts a random cuddly toy onto desktop
 #
 # Thanks to Andrew Stribblehill <a.d.stribblehill@dur.ac.uk>
 # who supported this script
 #
 if [ -d /usr/local/share/xteddy ] ; then
-  images=(`ls /usr/share/xteddy` `ls /usr/local/share/xteddy 2> /dev/null`)
+  images=(`ls __PREFIX__/share/xteddy` `ls /usr/local/share/xteddy 2> /dev/null`)
 else
-  images=(`ls /usr/share/xteddy`)
+  images=(`ls __PREFIX__/share/xteddy`)
 fi
 
 num=${#images[*]}
 choice=`expr $RANDOM % $num`
 
-/usr/games/xteddy -F${images[choice]} $*
+__PREFIX__/bin/xteddy -F${images[choice]} $*