diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-12-02 09:44:42 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-12-02 09:44:42 +0100 |
commit | 857e13e9b8ee4fe2c27cd9737f0396cb669cb8ad (patch) | |
tree | 2f5efa0bee35763b066919f0048208f5de4726c2 /util | |
parent | 593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd (diff) | |
parent | 25caeee8547df73a7162dc6de30a030fa0bceea8 (diff) | |
download | volse-hubzilla-857e13e9b8ee4fe2c27cd9737f0396cb669cb8ad.tar.gz volse-hubzilla-857e13e9b8ee4fe2c27cd9737f0396cb669cb8ad.tar.bz2 volse-hubzilla-857e13e9b8ee4fe2c27cd9737f0396cb669cb8ad.zip |
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'util')
-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 |