summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-04 10:27:45 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:47:58 +0100
commitb41681e37771dbf21bfc0ecc7a8c64af21552123 (patch)
tree973e9a1ab0d42106ef470299ce219677437cfc71 /scripts
parent711ac60966afafec614d601d5176bf5172c31d23 (diff)
downloadlive-boot-b41681e37771dbf21bfc0ecc7a8c64af21552123.tar.gz
live-boot-b41681e37771dbf21bfc0ecc7a8c64af21552123.zip
Merging casper 1.128.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/30accessibility12
1 files changed, 8 insertions, 4 deletions
diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility
index 6b61db1..6bfcc45 100755
--- a/scripts/live-bottom/30accessibility
+++ b/scripts/live-bottom/30accessibility
@@ -67,8 +67,10 @@ case ${ACCESS} in
if type orca > /dev/null 2>&1
then
mkdir -p /root/home/${USERNAME}/.orca
- echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/orca-customizations.py
- echo "orca.settings.enableMagnifier = True" >> /root/home/${USERNAME}/.orca/orca-customizations.py
+ echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py
+ echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py
+ echo "orca.settings.enableMagnifier = True" >> /root/home/${USERNAME}/.orca/user-settings.py
+ chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca
fi
;;
@@ -92,8 +94,10 @@ case ${ACCESS} in
if type orca > /dev/null 2>&1
then
mkdir -p /root/home/${USERNAME}/.orca
- echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/orca-customizations.py
- echo "orca.settings.enableBraille = True" >> /root/home/${USERNAME}/.orca/orca-customizations.py
+ echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py
+ echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py
+ echo "orca.settings.enableBraille = True" >> /root/home/${USERNAME}/.orca/user-settings.py
+ chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca
fi
;;