Merge pull request #200 from anaqreon/update-addon-script
Update addon script
This commit is contained in:
commit
be7b706486
@ -7,7 +7,12 @@ if [ $# -ne 1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
if [ -d .git ] ; then
|
||||||
git pull
|
git pull
|
||||||
|
Reference in New Issue
Block a user