mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +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."
|
echo -e "\n'--debug' *ignored* as STAGE (counter) < 2."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If vars/local_vars.yml is missing, put a default file in place.
|
# If /etc/iiab/local_vars.yml is missing, put a default file in place.
|
||||||
if [ ! -f ./vars/local_vars.yml ]; then
|
if [ ! -f /etc/iiab/local_vars.yml ]; then
|
||||||
case $OS in
|
case $OS in
|
||||||
OLPC | fedora)
|
OLPC | fedora)
|
||||||
cp ./vars/local_vars_olpc.yml ./vars/local_vars.yml
|
cp ./vars/local_vars_olpc.yml /etc/iiab/local_vars.yml
|
||||||
echo -e "\nvars/local_vars.yml created from local_vars_olpc.yml defaults."
|
echo -e "\n/etc/iiab/local_vars.yml created from local_vars_olpc.yml defaults."
|
||||||
;;
|
;;
|
||||||
centos | debian | ubuntu | raspbian)
|
centos | debian | ubuntu | raspbian)
|
||||||
cp ./vars/local_vars_medium.yml ./vars/local_vars.yml
|
cp ./vars/local_vars_medium.yml /etc/iiab/local_vars.yml
|
||||||
echo -e "\nvars/local_vars.yml created from local_vars_medium.yml defaults."
|
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"
|
echo "See MIN/MEDIUM/BIG options @ http://wiki.iiab.io/local_vars.yml"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue