Skip to content

Commit 07924db

Browse files
committed
edit func paths
1 parent 2a5ff9e commit 07924db

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

ct/karakeep.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/community-scripts/ProxmoxVE/main/misc/build.func)
2+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/build.func)
33
# Copyright (c) 2021-2025 tteck
44
# Author: MickLesk (Canbiz) & vhsdream
55
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE

misc/build.func

Lines changed: 10 additions & 10 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/community-scripts/ProxmoxVE/main/misc/api.func)
18+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/api.func)
1919

2020
if command -v curl >/dev/null 2>&1; then
21-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
21+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/core.func)
2222
load_functions
2323
elif command -v wget >/dev/null 2>&1; then
24-
source <(wget -qO- https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
24+
source <(wget -qO- https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/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/community-scripts/ProxmoxVE/main/misc/api.func)
35+
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/api.func)
3636
printf "\e[?25h"
3737
local exit_code="$?"
3838
local line_number="$1"
@@ -924,7 +924,7 @@ install_script() {
924924
header_info
925925
echo -e "${INFO}${HOLD} ${GN}Using Config File on node $PVEHOST_NAME${CL}"
926926
METHOD="config_file"
927-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/config-file.func)
927+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/config-file.func)
928928
config_file
929929
break
930930
;;
@@ -997,7 +997,7 @@ check_container_storage() {
997997
}
998998

999999
start() {
1000-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
1000+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/tools.func)
10011001
if command -v pveversion >/dev/null 2>&1; then
10021002
install_script
10031003
else
@@ -1058,9 +1058,9 @@ build_container() {
10581058
TEMP_DIR=$(mktemp -d)
10591059
pushd "$TEMP_DIR" >/dev/null
10601060
if [ "$var_os" == "alpine" ]; then
1061-
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/alpine-install.func)"
1061+
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/alpine-install.func)"
10621062
else
1063-
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/install.func)"
1063+
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/install.func)"
10641064
fi
10651065

10661066
export DIAGNOSTICS="$DIAGNOSTICS"
@@ -1095,7 +1095,7 @@ build_container() {
10951095
$PW
10961096
"
10971097
# This executes create_lxc.sh and creates the container and .conf file
1098-
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $?
1098+
bash -c "$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/create_lxc.sh)" $?
10991099

11001100
LXC_CONFIG="/etc/pve/lxc/${CTID}.conf"
11011101

@@ -1233,7 +1233,7 @@ EOF'
12331233
fi
12341234
msg_ok "Customized LXC Container"
12351235

1236-
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
1236+
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/install/"$var_install".sh)" $?
12371237
}
12381238

12391239
# This function sets the description of the container.

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/community-scripts/ProxmoxVE/main/misc/core.func)
12+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/core.func)
1313
load_functions
1414
# This function enables IPv6 if it's not disabled and sets verbose mode
1515
verb_ip6() {
@@ -29,7 +29,7 @@ catch_errors() {
2929

3030
# This function handles errors
3131
error_handler() {
32-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
32+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/api.func)
3333
printf "\e[?25h"
3434
local exit_code="$?"
3535
local line_number="$1"
@@ -147,7 +147,7 @@ EOF
147147
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
148148
msg_ok "Updated Container OS"
149149

150-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
150+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/tools.func)
151151
}
152152

153153
# This function modifies the message of the day (motd) and SSH settings
@@ -197,7 +197,7 @@ EOF
197197
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
198198
msg_ok "Customized Container"
199199
fi
200-
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/${app}.sh)\"" >/usr/bin/update
200+
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/ct/${app}.sh)\"" >/usr/bin/update
201201
chmod +x /usr/bin/update
202202

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

0 commit comments

Comments
 (0)