Skip to content

Commit c975cfc

Browse files
committed
temp: Restore correct install script format
1 parent 680df9b commit c975cfc

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

install/upgopher-install.sh

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,10 @@
55
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
66
# Source: https://github.com/wanetty/upgopher
77

8-
# TEMP: Load functions from personal fork for testing
9-
if ! command -v curl >/dev/null 2>&1; then
10-
apt-get update >/dev/null 2>&1
11-
apt-get install -y curl >/dev/null 2>&1
12-
fi
13-
14-
source <(curl -fsSL https://raw.githubusercontent.com/wanetty/ProxmoxVED/add-upgopher/misc/core.func)
15-
source <(curl -fsSL https://raw.githubusercontent.com/wanetty/ProxmoxVED/add-upgopher/misc/error_handler.func)
16-
load_functions
17-
catch_errors
18-
19-
# Load tools.func that contains fetch_and_deploy_gh_release
20-
source <(curl -fsSL https://raw.githubusercontent.com/wanetty/ProxmoxVED/add-upgopher/misc/tools.func)
21-
22-
verb_ip6() {
23-
set_std_mode
24-
if [ "$DISABLEIPV6" == "yes" ]; then
25-
echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf
26-
$STD sysctl -p
27-
fi
28-
}
29-
8+
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
9+
color
3010
verb_ip6
11+
catch_errors
3112
setting_up_container
3213
network_check
3314
update_os

0 commit comments

Comments
 (0)