patch-xteddy_test 719 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-xteddy_test,v 1.1 2004/01/31 21:32:19 pvalchev Exp $
  2. --- xteddy_test.orig 1999-03-29 16:04:35.000000000 +0200
  3. +++ xteddy_test 2004-01-30 23:54:52.000000000 +0100
  4. @@ -1,15 +1,9 @@
  5. #!/bin/sh
  6. i=0
  7. -if [ -d /usr/share/xteddy ] ; then
  8. - for img in `ls /usr/share/xteddy` ; do
  9. +if [ -d !!PREFIX!!/share/xteddy ] ; then
  10. + for img in `ls !!PREFIX!!/share/xteddy` ; do
  11. i=`expr $i + 50`
  12. - xteddy -F/usr/share/xteddy/$img -geometry +$i+$i &
  13. - done
  14. -fi
  15. -if [ -d /usr/local/share/xteddy ] ; then
  16. - for img in `ls /usr/local/share/xteddy` ; do
  17. - i=`expr $i + 50`
  18. - xteddy -F/usr/local/share/xteddy/$img -geometry +$i+$i &
  19. + xteddy -F!!PREFIX!!/share/xteddy/$img -geometry +$i+$i &
  20. done
  21. fi