aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-01 15:51:39 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-01 15:51:39 -0800
commit20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4 (patch)
treecbe7662d6e264ec95b4adfa4c274493193b7c026
parent1ba74d824bcf69dfb7f4fc5d61bdc4b07b6ec612 (diff)
parentbe7b706486eb3677d9afd2a2c89d87a6b809e422 (diff)
downloadvolse-hubzilla-20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4.tar.gz
volse-hubzilla-20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4.tar.bz2
volse-hubzilla-20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
-rwxr-xr-xutil/update_addon_repo7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/update_addon_repo b/util/update_addon_repo
index 5b531e6a5..ba1862f4b 100755
--- a/util/update_addon_repo
+++ b/util/update_addon_repo
@@ -7,7 +7,12 @@ if [ $# -ne 1 ]; then
exit 1
fi
-cd extend/addon/$1
+if [ -d extend/addon/$1 ] ; then
+ cd extend/addon/$1
+else
+ echo "$1 not found. Aborting..."
+ exit 1
+fi
if [ -d .git ] ; then
git pull