diff --git a/root/etc/cont-init.d/30-script-update.bash b/root/etc/cont-init.d/30-updater.bash similarity index 73% rename from root/etc/cont-init.d/30-script-update.bash rename to root/etc/cont-init.d/30-updater.bash index 9f6c0e0..34c4c47 100644 --- a/root/etc/cont-init.d/30-script-update.bash +++ b/root/etc/cont-init.d/30-updater.bash @@ -1,6 +1,10 @@ #!/usr/bin/with-contenv bash -# update from git +# update packages +apt-get update +apt-get upgrade -y + +# update SMA from git git -C ${SMA_PATH} reset --hard HEAD git -C ${SMA_PATH} pull origin master