mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update debian-install.sh
This commit is contained in:
@@ -103,3 +103,12 @@ msg_info "Cleaning up"
|
|||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user