uninstall scripts

This commit is contained in:
2024-07-31 23:40:43 +08:00
parent 22d12fd902
commit 024b3311e0
3 changed files with 36 additions and 4 deletions

13
uninstall/apache2 Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
##makedesc: Uninstall apache2
source `dirname $0`/../helpers || exit 255
title
sudo apt remove -y --autoremove apache2
[ $? = 0 ] && {
echo
success "apache2 uninstalled!"
echo
}