Skip to content

Commit c290c10

Browse files
committed
Update update-repo.sh
1 parent 5633461 commit c290c10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

misc/update-repo.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ function update_container() {
3737
if pct exec "$container" -- [ -e /usr/bin/update ]; then
3838
if pct exec "$container" -- grep -q "community-scripts/ProxmoxVE" /usr/bin/update; then
3939
echo -e "${RD}[No Change]${CL} /usr/bin/update is already up to date in ${BL}$container${CL}.\n"
40+
elif pct exec "$container" -- grep -q "tteck" /usr/bin/update; then
41+
echo -e "${RD}[Warning]${CL} /usr/bin/update in ${BL}$container${CL} contains a different entry (${RD}tteck${CL}). No changes made.\n"
4042
else
4143
pct exec "$container" -- bash -c "sed -i 's/tteck\\/Proxmox/community-scripts\\/ProxmoxVE/g' /usr/bin/update"
4244
echo -e "${GN}[Success]${CL} /usr/bin/update updated in ${BL}$container${CL}.\n"

0 commit comments

Comments
 (0)