summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-04-30 18:27:34 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:08 +0100
commitae60f44dbaaa4c95681c6179ac10da31698e7ba0 (patch)
tree5f591e936e889a667680041bd33dae9354b44347 /scripts/live-bottom
parent677c96b5c45cfa3dd055f2626d2b47cac2f57e43 (diff)
downloadlive-boot-ae60f44dbaaa4c95681c6179ac10da31698e7ba0.tar.gz
live-boot-ae60f44dbaaa4c95681c6179ac10da31698e7ba0.zip
Merging casper 1.190.
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/30accessibility1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility
index 3c51fa0..45d1aa1 100755
--- a/scripts/live-bottom/30accessibility
+++ b/scripts/live-bottom/30accessibility
@@ -57,6 +57,7 @@ remove_applet ()
local line_no prior_line next_line
line_no="$(grep -n "<string>$1</string>" /root/usr/share/gconf/defaults/05_panel-default-setup.entries | cut -f 1 -d :)"
+ [ "$line_no" ] || return
prior_line="$((line_no-1))"
next_line="$((line_no+1))"