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:
2f3468b
)
Only disabling kpersonalizer when using kde3, kde4 doesn't need that hack.
author
Daniel Baumann
<daniel@debian.org>
Fri, 12 Mar 2010 14:27:23 +0000
(15:27 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:07 +0000
(17:48 +0100)
scripts/live-bottom/34disable_kpersonalizer
patch
|
blob
|
history
diff --git
a/scripts/live-bottom/34disable_kpersonalizer
b/scripts/live-bottom/34disable_kpersonalizer
index
d61c879
..
1dc4545
100755
(executable)
--- a/
scripts/live-bottom/34disable_kpersonalizer
+++ b/
scripts/live-bottom/34disable_kpersonalizer
@@
-31,20
+31,23
@@
log_begin_msg "Disabling kpersonalizer"
# live-initramfs script
# live-initramfs script
-if
chroot /root /usr/bin/which kpersonalizer >/dev/null
+if
[ -e /etc/kde3 ]
then
then
- # Disable first-login wizard for KDE
- if [ ! -f /root/etc/kde3/kpersonalizerrc ]
+ if chroot /root /usr/bin/which kpersonalizer >/dev/null
then
then
+ # Disable first-login wizard for KDE
+ if [ ! -f /root/etc/kde3/kpersonalizerrc ]
+ then
cat > /root/etc/kde3/kpersonalizerrc << EOF
[General]
FirstLogin=false
EOF
cat > /root/etc/kde3/kpersonalizerrc << EOF
[General]
FirstLogin=false
EOF
- else
- echo "I'm not smart enough to disable kpersonalizer startup" >&2
- echo "Because kpersonalizerrc already exists" >&2
+ else
+ echo "I'm not smart enough to disable kpersonalizer startup" >&2
+ echo "Because kpersonalizerrc already exists" >&2
+ fi
fi
fi
fi
fi