Update glances.sh
tweak
This commit is contained in:
parent
869a95d221
commit
01c54ab916
1 changed files with 0 additions and 8 deletions
|
@ -96,14 +96,6 @@ EOF
|
||||||
}
|
}
|
||||||
uninstall() {
|
uninstall() {
|
||||||
header_info
|
header_info
|
||||||
read -r -p "Verbose mode? <y/N> " prompt
|
|
||||||
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
|
||||||
STD=""
|
|
||||||
else
|
|
||||||
STD="silent"
|
|
||||||
fi
|
|
||||||
header_info
|
|
||||||
|
|
||||||
msg_info "Uninstalling $APP"
|
msg_info "Uninstalling $APP"
|
||||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
|
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
|
||||||
systemctl disable -q --now glances
|
systemctl disable -q --now glances
|
||||||
|
|
Loading…
Reference in a new issue