diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2018-07-01 04:42:20 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2018-07-02 11:00:59 -0400 |
commit | dcc19a73bf4a015ce9eed075cd51fea3f1e970a3 (patch) | |
tree | cc70d58268de472ff7f68aed02e37306a80540b6 /configs/profile/build.sh | |
parent | a7bd37a2a66864326b43285922812e0059a19867 (diff) |
squashme - braille
Diffstat (limited to 'configs/profile/build.sh')
-rwxr-xr-x | configs/profile/build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh index 20deb91..a20824e 100755 --- a/configs/profile/build.sh +++ b/configs/profile/build.sh @@ -17,6 +17,7 @@ iso_version=$(date +%Y.%m.%d) iso_label="PARA_$(date +%Y%m)" iso_dirname='parabola' enable_offline_install='false' +enable_tts_brltty='false' offline_switch='' work_dir=./work out_dir=./out/$(echo "${iso_edition}-${iso_version}" | tr '[:upper:]/' '[:lower:]-') @@ -50,6 +51,8 @@ _usage () echo " Default: ${iso_dirname}" echo " -O Enable offline install." echo " Default: '${enable_offline_install}'" + echo " -S Enable speech and braille." + echo " Default: '${enable_tts_brltty}'" echo " -C Specify the pacman.conf file used for chroot install." echo " Default: '${pacman_conf}'" echo " -w <work_dir> Set the working directory" @@ -205,6 +208,7 @@ make_customize_root_image() { ISO_INIT="${iso_init}" \ ISO_GUI="${iso_gui}" \ ENABLE_OFFLINE_INSTALL="${enable_offline_install}" \ + ENABLE_TTS_BRLTTY="${enable_tts_brltty}" \ setarch ${arch} mkparabolaiso ${verbose} -w ${work_dir}/${arch} \ -C ${pacman_conf} \ -D ${iso_dirname} \ @@ -359,7 +363,7 @@ make_iso() { ## prepare state ## # set CLI options -while getopts 'E:T:V:L:D:OC:w:o:vh' arg; do +while getopts 'E:T:V:L:D:OSC:w:o:vh' arg; do case "${arg}" in E) iso_edition="${OPTARG}" ;; T) target="${OPTARG}" ;; @@ -367,6 +371,7 @@ while getopts 'E:T:V:L:D:OC:w:o:vh' arg; do L) iso_label="${OPTARG}" ;; D) iso_dirname="${OPTARG}" ;; O) enable_offline_install='true' offline_switch='-O' ;; + S) enable_tts_brltty='true' ;; C) pacman_conf="${OPTARG}" ;; w) work_dir="${OPTARG}" ;; o) out_dir="${OPTARG}" ;; |