diff --git a/root/etc/cont-init.d/30-script-update.bash b/root/etc/cont-init.d/30-script-update.bash index 56bd2ea..ec19c12 100644 --- a/root/etc/cont-init.d/30-script-update.bash +++ b/root/etc/cont-init.d/30-script-update.bash @@ -2,6 +2,7 @@ # update from git if [[ "${UPDATE}" == "true" ]]; then + git -C ${SABSCRIPTS_PATH} reset --hard HEAD && \ git -C ${SABSCRIPTS_PATH} pull origin master && \ git -C ${SMA_PATH} pull origin master fi