my-env/uninstall/apache2

14 lines
205 B
Plaintext
Raw Normal View History

2023-04-14 04:06:40 +00:00
#!/bin/bash
##makedesc: Uninstall apache2
source `dirname $0`/../helpers || exit 255
title
sudo apt remove -y --autoremove apache2
[ $? = 0 ] && {
echo
success "apache2 uninstalled!"
echo
}