diff --git a/install/debian-install.sh b/install/debian-install.sh index e2ece37..78baf6e 100644 --- a/install/debian-install.sh +++ b/install/debian-install.sh @@ -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? " 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