From 8d56d83f2891dee8e1c7b9850115dde291c3d361 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 8 Sep 2020 11:04:57 -0400 Subject: [PATCH] Update and rename 30-script-update.bash to 30-updater.bash --- .../cont-init.d/{30-script-update.bash => 30-updater.bash} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename root/etc/cont-init.d/{30-script-update.bash => 30-updater.bash} (73%) 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