mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 22:39:43 +00:00
add option to disable auto-updates
This commit is contained in:
@@ -24,8 +24,10 @@ sub="dotdrop"
|
||||
# pivot
|
||||
cd "${cur}" || { echo "Directory \"${cur}\" doesn't exist, aborting." && exit 1; }
|
||||
# init/update the submodule
|
||||
git submodule update --init --recursive
|
||||
git submodule update --remote dotdrop
|
||||
if [ "${DOTDROP_AUTOUPDATE-yes}" = yes ] ; then
|
||||
git submodule update --init --recursive
|
||||
git submodule update --remote dotdrop
|
||||
fi
|
||||
# launch dotdrop
|
||||
PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop "${args[@]}"
|
||||
ret="$?"
|
||||
|
||||
Reference in New Issue
Block a user