Add update scripts
This commit is contained in:
@@ -28,9 +28,19 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
msg_info "Updating ${APP} LXC"
|
msg_info "Updating ${APP} LXC"
|
||||||
$STD apt-get update
|
$STD apt update
|
||||||
$STD apt-get -y upgrade
|
$STD apt -y upgrade
|
||||||
msg_ok "Updated successfully!"
|
msg_ok "Updated ${APP} LXC"
|
||||||
|
|
||||||
|
msg_info "Updating .NET SDK"
|
||||||
|
$STD apt install -y dotnet-sdk-10.0
|
||||||
|
msg_ok "Updated .NET SDK"
|
||||||
|
|
||||||
|
msg_info "Updating Umbraco Templates"
|
||||||
|
$STD dotnet new update
|
||||||
|
msg_ok "Updated Umbraco Templates"
|
||||||
|
|
||||||
|
msg_ok "Update completed successfully!"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user