Update debian-install.sh

This commit is contained in:
CanbiZ 2025-05-15 15:33:53 +02:00
parent d79b5f9ef6
commit 72e58aa982

View File

@ -103,3 +103,12 @@ msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"
read -p "Remove this script? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
pct stop "$CTID"
pct remove "$CTID"
msg_ok "Removed this script"
else
msg_warn "Did not remove this script"
fi