2024-04-03 18:02:35 -04:00
|
|
|
#!/usr/bin/env bash
|
2024-11-02 08:48:05 +01:00
|
|
|
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
2025-01-01 13:37:29 +01:00
|
|
|
# Copyright (c) 2021-2025 tteck
|
2024-04-03 18:02:35 -04:00
|
|
|
# Author: tteck (tteckster)
|
2024-12-16 12:42:51 +01:00
|
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
|
|
# Source: https://actualbudget.org/
|
2024-04-03 18:02:35 -04:00
|
|
|
|
|
|
|
APP="Actual Budget"
|
2024-12-16 13:31:48 +01:00
|
|
|
var_tags="finance"
|
2024-04-11 14:43:56 -04:00
|
|
|
var_cpu="2"
|
|
|
|
var_ram="2048"
|
2024-12-16 12:42:51 +01:00
|
|
|
var_disk="4"
|
2024-04-03 18:02:35 -04:00
|
|
|
var_os="debian"
|
|
|
|
var_version="12"
|
2024-12-16 12:42:51 +01:00
|
|
|
var_unprivileged="1"
|
|
|
|
|
|
|
|
header_info "$APP"
|
2024-04-03 18:02:35 -04:00
|
|
|
variables
|
|
|
|
color
|
|
|
|
catch_errors
|
|
|
|
|
|
|
|
function update_script() {
|
2024-12-16 12:42:51 +01:00
|
|
|
header_info
|
|
|
|
check_container_storage
|
|
|
|
check_container_resources
|
2025-01-21 14:38:38 +01:00
|
|
|
|
2024-12-16 12:42:51 +01:00
|
|
|
if [[ ! -d /opt/actualbudget ]]; then
|
|
|
|
msg_error "No ${APP} Installation Found!"
|
2025-02-19 13:32:52 +01:00
|
|
|
exit 1
|
2024-12-16 12:42:51 +01:00
|
|
|
fi
|
2025-03-01 20:39:06 +01:00
|
|
|
msg_error "Due to major changes in the Actual Budget repository, we are currently unable to provide updates. Please check back later."
|
|
|
|
exit
|
2024-04-03 18:02:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
start
|
|
|
|
build_container
|
|
|
|
description
|
2024-11-18 21:09:10 +01:00
|
|
|
|
2024-04-03 18:02:35 -04:00
|
|
|
msg_ok "Completed Successfully!\n"
|
2024-12-16 12:42:51 +01:00
|
|
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
|
|
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
2025-02-20 12:18:00 +01:00
|
|
|
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:5006${CL}"
|