File tree Expand file tree Collapse file tree 3 files changed +6
-179
lines changed
Expand file tree Collapse file tree 3 files changed +6
-179
lines changed Original file line number Diff line number Diff line change 190190
191191 echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/${app}.sh)\"" >/usr/bin/update
192192 chmod +x /usr/bin/update
193-
193+
194194}
Original file line number Diff line number Diff line change 1-
21#! /usr/bin/env bash
32# Copyright (c) 2021-2025 community-scripts ORG
43# Author: tteck (tteckster) | MickLesk | michelroegl-brunner
54# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/branch/main/LICENSE
6-
75
86# ==============================================================================
97# BUILD.FUNC - LXC CONTAINER BUILD & CONFIGURATION
@@ -82,110 +80,7 @@ variables() {
8280 fi
8381}
8482
85-
86-
87-
88-
89-
90-
91-
92-
93-
94-
95-
96-
97-
98-
99-
100-
101-
102-
103-
104-
105-
106-
107-
108-
109-
110-
111-
112-
113-
114-
115-
116-
117-
118-
119-
120-
121-
122-
123-
124-
125-
126-
127-
128-
129-
130-
131-
132-
133-
134-
135-
136-
137-
138-
13983source <( curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
140-
141-
142-
143-
144-
145-
146-
147-
148-
149-
150-
151-
152-
153-
154-
155-
156-
157-
158-
159-
160-
161-
162-
163-
164-
165-
166-
167-
168-
169-
170-
171-
172-
173-
174-
175-
176-
177-
178-
179-
180-
181-
182-
183-
184-
185-
186-
187-
188-
18984
19085if command -v curl > /dev/null 2>&1 ; then
19186 source <( curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
@@ -1480,11 +1375,7 @@ advanced_settings() {
14801375 _ipv6_gate=" "
14811376 (( STEP++ ))
14821377 ;;
1483-
1484-
1485-
1486-
1487-
1378+
14881379 none)
14891380 _ipv6_addr=" none"
14901381 _ipv6_gate=" "
Original file line number Diff line number Diff line change @@ -73,22 +73,18 @@ stop_all_services() {
7373
7474 for pattern in " ${service_patterns[@]} " ; do
7575 # Find all matching services
76-
76+
7777 systemctl list-units --type=service --all 2> /dev/null |
7878 grep -oE " ${pattern} [^ ]*\.service" |
7979 sort -u |
80-
81-
82-
8380 while read -r service; do
84-
81+
8582 $STD systemctl stop " $service " 2> /dev/null || true
8683 $STD systemctl disable " $service " 2> /dev/null || true
8784 done
88-
85+
8986 done
9087
91-
9288}
9389
9490# ------------------------------------------------------------------------------
@@ -3870,74 +3866,14 @@ function setup_postgresql() {
38703866 local SUITE
38713867 case " $DISTRO_CODENAME " in
38723868 trixie | forky | sid)
3873-
3869+
38743870 if verify_repo_available " https://apt.postgresql.org/pub/repos/apt" " trixie-pgdg" ; then
38753871 SUITE=" trixie-pgdg"
38763872
3877-
3878-
3879-
3880-
3881-
3882-
3883-
3884-
3885-
3886-
3887-
38883873 else
38893874 SUITE=" bookworm-pgdg"
38903875 fi
38913876
3892-
3893-
3894-
3895-
3896-
3897-
3898-
3899-
3900-
3901-
3902-
3903-
3904-
3905-
3906-
3907-
3908-
3909-
3910-
3911-
3912-
3913-
3914-
3915-
3916-
3917-
3918-
3919-
3920-
3921-
3922-
3923-
3924-
3925-
3926-
3927-
3928-
3929-
3930-
3931-
3932-
3933-
3934-
3935-
3936-
3937-
3938-
3939-
3940-
39413877 ;;
39423878 * )
39433879 SUITE=$( get_fallback_suite " $DISTRO_ID " " $DISTRO_CODENAME " " https://apt.postgresql.org/pub/repos/apt" )
You can’t perform that action at this time.
0 commit comments