Fix bash variable expansion for Debian installer

Fixes issue #400
This commit is contained in:
Blaine Motsinger
2020-09-26 17:02:50 -05:00
parent 5b69c6a63f
commit 6f70d7b71f

View File

@ -8,7 +8,7 @@ function update_system_packages() {
install_log "Updating sources"
if [ -f /etc/os-release ]; then
. /etc/os-release
if [ $NAME == 'Ubuntu' ]; then
if [ "$NAME" == 'Ubuntu' ]; then
sudo add-apt-repository universe || install_error "Couldn't enable universe repository"
fi
fi