[fix] install_type -> setup_type

This commit is contained in:
William Wernert
2020-11-18 13:51:39 -05:00
parent 81b9658499
commit 280cde43ff

View File

@@ -1019,7 +1019,7 @@ install_cleanup() {
# If Mysql is running stop it
/usr/sbin/so-mysql-stop
if [[ $install_type == 'iso' ]]; then
if [[ $setup_type == 'iso' ]]; then
info "Removing so-setup permission entry from sudoers file"
sed -i '/so-setup/d' /etc/sudoers
fi