mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Update iiab-install
This commit is contained in:
parent
d28883dab8
commit
da99df667a
1 changed files with 6 additions and 6 deletions
12
iiab-install
12
iiab-install
|
@ -118,16 +118,16 @@ if [ "$STAGE" -lt 2 ] && [ "$1" == "--debug" ]; then
|
|||
echo -e "\n'--debug' *ignored* as STAGE (counter) < 2."
|
||||
fi
|
||||
|
||||
# If vars/local_vars.yml is missing, put a default file in place.
|
||||
if [ ! -f ./vars/local_vars.yml ]; then
|
||||
# If /etc/iiab/local_vars.yml is missing, put a default file in place.
|
||||
if [ ! -f /etc/iiab/local_vars.yml ]; then
|
||||
case $OS in
|
||||
OLPC | fedora)
|
||||
cp ./vars/local_vars_olpc.yml ./vars/local_vars.yml
|
||||
echo -e "\nvars/local_vars.yml created from local_vars_olpc.yml defaults."
|
||||
cp ./vars/local_vars_olpc.yml /etc/iiab/local_vars.yml
|
||||
echo -e "\n/etc/iiab/local_vars.yml created from local_vars_olpc.yml defaults."
|
||||
;;
|
||||
centos | debian | ubuntu | raspbian)
|
||||
cp ./vars/local_vars_medium.yml ./vars/local_vars.yml
|
||||
echo -e "\nvars/local_vars.yml created from local_vars_medium.yml defaults."
|
||||
cp ./vars/local_vars_medium.yml /etc/iiab/local_vars.yml
|
||||
echo -e "\/etc/iiab/local_vars.yml created from local_vars_medium.yml defaults."
|
||||
echo "See MIN/MEDIUM/BIG options @ http://wiki.iiab.io/local_vars.yml"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue