]> git.donarmstrong.com Git - bin.git/commitdiff
add update-org command
authorDon Armstrong <don@donarmstrong.com>
Thu, 15 Jan 2015 06:42:45 +0000 (22:42 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 15 Jan 2015 06:42:45 +0000 (22:42 -0800)
update-org [new file with mode: 0755]

diff --git a/update-org b/update-org
new file mode 100755 (executable)
index 0000000..ba3e7e0
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ "x$1" = "xical" ]; then
+    update_org_ical;
+elif [ "x$1" = "xmobile" ]; then
+    update_mobile_org;
+elif [ "x$1" = "xstatus" ]; then
+    mr -d ~ status|grep org;
+else
+    update_org_files;
+fi;
+