forked from mirrored-repos/manjaro-tools
[util-yaml] fix GIS check
This commit is contained in:
parent
e66c9c0f61
commit
fb7ec401fd
1 changed files with 3 additions and 2 deletions
|
@ -282,12 +282,13 @@ write_locale_conf(){
|
|||
}
|
||||
|
||||
check_gis(){
|
||||
has_gis=false
|
||||
[[ -e $1/usr/lib/gnome-initial-setup ]] && has_gis=true
|
||||
has_gis='false'
|
||||
[[ -e $1/usr/lib/gnome-initial-setup ]] && has_gis='true'
|
||||
}
|
||||
|
||||
write_settings_conf(){
|
||||
local conf="$1/etc/calamares/settings.conf"
|
||||
check_gis
|
||||
msg2 "Writing %s ..." "${conf##*/}"
|
||||
echo "---" > "$conf"
|
||||
echo "modules-search: [ local ]" >> "$conf"
|
||||
|
|
Loading…
Reference in a new issue