Update alpine-forgejo.sh
This commit is contained in:
parent
7f13c7edd7
commit
f6560c7362
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func)
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# Author: Johann3s-H (An!ma)
|
# Author: Johann3s-H (An!ma)
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
@ -20,27 +20,22 @@ color
|
|||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
|
||||||
|
|
||||||
msg_info "Updating Alpine Packages"
|
msg_info "Updating Alpine Packages"
|
||||||
$STD apk -U upgrade
|
$STD apk -U upgrade
|
||||||
msg_ok "Updated Alpine Packages"
|
msg_ok "Updated Alpine Packages"
|
||||||
|
|
||||||
msg_info "Updating Forgejo"
|
msg_info "Updating Forgejo"
|
||||||
apk upgrade forgejo
|
$STD apk upgrade forgejo
|
||||||
msg_ok "Updated Forgejo"
|
msg_ok "Updated Forgejo"
|
||||||
|
|
||||||
msg_info "Restarting Forgejo"
|
msg_info "Restarting Forgejo"
|
||||||
rc-service forgejo restart
|
$STD rc-service forgejo restart
|
||||||
msg_ok "Restarted Forgejo"
|
msg_ok "Restarted Forgejo"
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
msg_info "start done"
|
|
||||||
build_container
|
build_container
|
||||||
msg_info "build_container done"
|
|
||||||
description
|
description
|
||||||
msg_info "description done"
|
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user