projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f812d
)
Only edit usplash init script if it exists.
author
Ben Armstrong
<synrg@debian.org>
Sun, 31 Jan 2010 13:13:21 +0000
(14:13 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:07 +0000
(17:48 +0100)
scripts/live-bottom/19keyboard
patch
|
blob
|
history
diff --git
a/scripts/live-bottom/19keyboard
b/scripts/live-bottom/19keyboard
index
658e44a
..
52a6a58
100755
(executable)
--- a/
scripts/live-bottom/19keyboard
+++ b/
scripts/live-bottom/19keyboard
@@
-104,7
+104,10
@@
then
live-preseed /root console-setup/optionscode '' false
live-preseed /root console-setup/codesetcode '' false
- sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash
+ if [ -f /root/etc/init.d/usplash ]
+ then
+ sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash
+ fi
fi
elif [ -e /root/usr/sbin/install-keymap ]
then