Merge pull request #401 from renderorange/fix-bash-variable-expansion-for-debian-installer

Fix bash variable expansion for Debian installer
This commit is contained in:
Alexander Savchuk
2020-12-03 22:21:05 +13:00
committed by GitHub

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