1
0
Fork 0

fix sudo rights

This commit is contained in:
VirtuBox 2019-01-30 04:54:45 +01:00
parent 3607ca1af6
commit f3ee98e54c
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ update_git_mybashrc() {
}
EE_MYSQL_OPTIMIZATION() {
if [ -f $HOME/.my.cnf ]; then
/usr/bin/mysqlcheck -Aos --auto-repair
elif [ -f /etc/psa/.psa.shadow ]; then
@ -91,7 +91,7 @@ MAINTENANCE_APT() {
CRED="${CSI}1;31m"
CGREEN="${CSI}1;32m"
if [ "$(id -u)" = "0" ] && [ -n "$IS_SUDOERS" ]; then
if [ "$(id -u)" = "0" ] || [ -n "$IS_SUDOERS" ]; then
echo -e "${CGREEN}#############################################${CEND}"
echo -e ' APT UPDATE '