[Pkg-bazaar-commits] ./bzr/unstable r423: - Add fortune-cookie external plugin demonstration
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 07:52:15 UTC 2009
------------------------------------------------------------
revno: 423
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-10 13:55:34 +1000
message:
- Add fortune-cookie external plugin demonstration
added:
contrib/fortune
-------------- next part --------------
=== added file 'contrib/fortune'
--- a/contrib/fortune 1970-01-01 00:00:00 +0000
+++ b/contrib/fortune 2005-05-10 03:55:34 +0000
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+# Put this on your $BZRPATH to use it to demonstrate bzr external plugins
+
+
+if [ x$1 == x--bzr-usage ]
+then
+ # options
+ echo ""
+ # arguments
+ echo ""
+ exit 0
+elif [ x$1 == x--bzr-help ]
+then
+ echo "display a fortune cookie"
+ echo
+ exit 0
+else
+ /usr/games/fortune
+fi
More information about the Pkg-bazaar-commits
mailing list