Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-11-23 15:10:21 -0500
committerGitHub <noreply@github.com>2021-11-23 21:10:21 +0100
commit72d02a391dd1f2aedaeaac59b943d8655366bb3e (patch)
tree55efd25c6e83b3c6c1927eab53fa958bfccccc9b /examples/guided.py
parent6b6c9c84bed1e4640f5f46282da1767827f977a9 (diff)
Add accessibility packages to installed system if using the on the live ISO (#760)
* Add group of accesibility tools * Conditionally extend base packages * Enable it if accessibility in use in guided * Fix circular import
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 1ee31d38..e58fd56b 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -334,6 +334,9 @@ def perform_installation(mountpoint):
if archinstall.arguments.get('ntp', False):
installation.activate_time_syncronization()
+ if installation.accessibility_tools_in_use():
+ installation.enable_espeakup()
+
if (root_pw := archinstall.arguments.get('!root-password', None)) and len(root_pw):
installation.user_set_pw('root', root_pw)