Skip to content

Commit 2d86379

Browse files
revert urls to upstream
1 parent e377391 commit 2d86379

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

ct/valkey.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/build.func)
2+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
33
# Copyright (c) 2021-2025 community-scripts ORG
44
# Author: pshankinclarke (lazarillo)
55
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE

misc/build.func

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ variables() {
1515
CT_TYPE=${var_unprivileged:-$CT_TYPE}
1616
}
1717

18-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/api.func)
18+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
1919

2020
if command -v curl >/dev/null 2>&1; then
21-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/core.func)
21+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
2222
load_functions
2323
elif command -v wget >/dev/null 2>&1; then
24-
source <(wget -qO- https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/core.func)
24+
source <(wget -qO- https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
2525
load_functions
2626
fi
2727
# This function enables error handling in the script by setting options and defining a trap for the ERR signal.
@@ -32,7 +32,7 @@ catch_errors() {
3232

3333
# This function is called when an error occurs. It receives the exit code, line number, and command that caused the error, and displays an error message.
3434
error_handler() {
35-
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/api.func)
35+
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
3636
printf "\e[?25h"
3737
local exit_code="$?"
3838
local line_number="$1"
@@ -994,7 +994,7 @@ install_script() {
994994
header_info
995995
echo -e "${INFO}${HOLD} ${GN}Using Config File on node $PVEHOST_NAME${CL}"
996996
METHOD="config_file"
997-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/config-file.func)
997+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/config-file.func)
998998
config_file
999999
break
10001000
;;
@@ -1065,7 +1065,7 @@ check_container_storage() {
10651065
}
10661066

10671067
start() {
1068-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/tools.func)
1068+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
10691069
if command -v pveversion >/dev/null 2>&1; then
10701070
install_script
10711071
else
@@ -1127,9 +1127,9 @@ build_container() {
11271127
TEMP_DIR=$(mktemp -d)
11281128
pushd "$TEMP_DIR" >/dev/null
11291129
if [ "$var_os" == "alpine" ]; then
1130-
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/alpine-install.func)"
1130+
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/alpine-install.func)"
11311131
else
1132-
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/install.func)"
1132+
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/install.func)"
11331133
fi
11341134

11351135
export DIAGNOSTICS="$DIAGNOSTICS"
@@ -1164,7 +1164,7 @@ build_container() {
11641164
$PW
11651165
"
11661166
# This executes create_lxc.sh and creates the container and .conf file
1167-
bash -c "$(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/create_lxc.sh)" $?
1167+
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $?
11681168

11691169
LXC_CONFIG="/etc/pve/lxc/${CTID}.conf"
11701170

@@ -1358,7 +1358,7 @@ EOF'
13581358
fi
13591359
msg_ok "Customized LXC Container"
13601360

1361-
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/install/${var_install}.sh)"
1361+
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"
13621362
}
13631363

13641364
# This function sets the description of the container.
@@ -1370,7 +1370,7 @@ description() {
13701370
cat <<EOF
13711371
<div align='center'>
13721372
<a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'>
1373-
<img src='https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/images/logo-81x112.png' alt='Logo' style='width:81px;height:112px;'/>
1373+
<img src='https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width:81px;height:112px;'/>
13741374
</a>
13751375

13761376
<h2 style='font-size: 24px; margin: 20px 0;'>${APP} LXC</h2>

misc/install.func

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if ! command -v curl >/dev/null 2>&1; then
99
apt-get update >/dev/null 2>&1
1010
apt-get install -y curl >/dev/null 2>&1
1111
fi
12-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/core.func)
12+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
1313
load_functions
1414
# This function enables IPv6 if it's not disabled and sets verbose mode
1515
verb_ip6() {
@@ -37,7 +37,7 @@ catch_errors() {
3737

3838
# This function handles errors
3939
error_handler() {
40-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/api.func)
40+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
4141
printf "\e[?25h"
4242
local exit_code="$?"
4343
local line_number="$1"
@@ -155,7 +155,7 @@ EOF
155155
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
156156
msg_ok "Updated Container OS"
157157

158-
source <(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/misc/tools.func)
158+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
159159
}
160160

161161
# This function modifies the message of the day (motd) and SSH settings
@@ -205,7 +205,7 @@ EOF
205205
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
206206
msg_ok "Customized Container"
207207
fi
208-
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/pshankinclarke/ProxmoxVE/refs/heads/val-backup/ct/${app}.sh)\"" >/usr/bin/update
208+
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/${app}.sh)\"" >/usr/bin/update
209209
chmod +x /usr/bin/update
210210

211211
if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then

0 commit comments

Comments
 (0)