diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-01 15:51:39 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-01 15:51:39 -0800 |
commit | 20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4 (patch) | |
tree | cbe7662d6e264ec95b4adfa4c274493193b7c026 | |
parent | 1ba74d824bcf69dfb7f4fc5d61bdc4b07b6ec612 (diff) | |
parent | be7b706486eb3677d9afd2a2c89d87a6b809e422 (diff) | |
download | volse-hubzilla-20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4.tar.gz volse-hubzilla-20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4.tar.bz2 volse-hubzilla-20ce7a2d9f1173dac8d54fb05319036cc6f1d7f4.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
-rwxr-xr-x | util/update_addon_repo | 7 |
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 |