summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-02-16 21:39:52 +0100
committerDaniel Baumann <daniel@debian.org>2012-02-16 21:40:18 +0100
commit84c185055ffb6664b5a28760675b6c0836b42062 (patch)
treec1d43e20709b34edd4c58305bfdc92f96bc14dd7 /functions
parent33f4cacefdb0961af1140ed57c802dd2e8d2b977 (diff)
downloadvyos-live-build-84c185055ffb6664b5a28760675b6c0836b42062.tar.gz
vyos-live-build-84c185055ffb6664b5a28760675b6c0836b42062.zip
Add forgotten fallback for mode setting if lsb_release is not installed.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 2dc89d2fa..38647e059 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -46,6 +46,8 @@ Set_defaults ()
elif [ -e /etc/ubuntu_version ]
then
LB_MODE="${LB_MODE:-ubuntu}"
+ else
+ LB_MODE="${LB_MODE:-debian}"
fi
fi