quick fix
This commit is contained in:
+2
-4
@@ -67,15 +67,14 @@ function link_config_files {
|
|||||||
else
|
else
|
||||||
link_etc vimrc.local vim
|
link_etc vimrc.local vim
|
||||||
fi
|
fi
|
||||||
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
function in_azerty_zone {
|
function in_azerty_zone {
|
||||||
local zone
|
local zone
|
||||||
zone=$(readlink /etc/localtime)
|
zone=$(readlink /etc/localtime)
|
||||||
zone="${zone#/usr/share/zoneinfo/}" # remove prefix
|
zone="${zone#/usr/share/zoneinfo/}" # remove prefix
|
||||||
for i in "${AZERTY_ZONES[@]}"; do
|
for i in "${AZERTY_ZONES[@]}"; do [[ "$zone" == "$i" ]] && return 0; done
|
||||||
[[ "$zone" == "$i" ]] && return 0
|
|
||||||
done
|
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -88,4 +87,3 @@ DISTRO_LIKE=$(fetch_distro_like)
|
|||||||
required_packages
|
required_packages
|
||||||
no_more_skeleton
|
no_more_skeleton
|
||||||
link_config_files
|
link_config_files
|
||||||
true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user