From c717ef22e7ba7b0d5e6f8b524cd3a4dcc2594315 Mon Sep 17 00:00:00 2001 From: jd-apprentice Date: Sat, 11 Jan 2025 18:09:53 -0300 Subject: [PATCH] fix: added /ref/head to urls --- ct/opengist.sh | 4 ++-- misc/build.func | 10 +++++----- misc/install.func | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ct/opengist.sh b/ct/opengist.sh index 2679b3da..fa34a251 100644 --- a/ct/opengist.sh +++ b/ct/opengist.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/refs/heads/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Jonathan (jd-apprentice) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -54,4 +54,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6157${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6157${CL}" diff --git a/misc/build.func b/misc/build.func index 10f6be1a..d118bc62 100644 --- a/misc/build.func +++ b/misc/build.func @@ -799,9 +799,9 @@ build_container() { TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null if [ "$var_os" == "alpine" ]; then - export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/main/misc/alpine-install.func)" + export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/refs/heads/main/misc/alpine-install.func)" else - export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/main/misc/install.func)" + export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/refs/heads/main/misc/install.func)" fi export CACHER="$APT_CACHER" export CACHER_IP="$APT_CACHER_IP" @@ -831,7 +831,7 @@ build_container() { $PW " # This executes create_lxc.sh and creates the container and .conf file - bash -c "$(wget -qLO - https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/main/ct/create_lxc.sh)" || exit + bash -c "$(wget -qLO - https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/refs/heads/main/ct/create_lxc.sh)" || exit LXC_CONFIG=/etc/pve/lxc/${CTID}.conf if [ "$CT_TYPE" == "0" ]; then @@ -893,7 +893,7 @@ http://dl-cdn.alpinelinux.org/alpine/latest-stable/community EOF' pct exec "$CTID" -- ash -c "apk add bash >/dev/null" fi - lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/main/install/$var_install.sh)" || exit + lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/refs/heads/main/install/$var_install.sh)" || exit } @@ -905,7 +905,7 @@ description() { DESCRIPTION=$(cat < - Logo + Logo

${APP} LXC

diff --git a/misc/install.func b/misc/install.func index 8a10a60e..e15a54d3 100644 --- a/misc/install.func +++ b/misc/install.func @@ -253,6 +253,6 @@ EOF systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') msg_ok "Customized Container" fi - echo "bash -c \"\$(wget -qLO - https://github.com/jd-apprentice/ProxmoxVE/raw/main/ct/${app}.sh)\"" >/usr/bin/update + echo "bash -c \"\$(wget -qLO - https://raw.githubusercontent.com/jd-apprentice/ProxmoxVE/refs/heads/main/ct/${app}.sh)\"" >/usr/bin/update chmod +x /usr/bin/update }