livecd-root: post.inc.sh: exit on error if adding kde favorites fails
This commit is contained in:
parent
aff6c840d0
commit
72b3d1782c
@ -44,7 +44,7 @@ cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|||||||
|
|
||||||
# configure favorites in kde menu
|
# configure favorites in kde menu
|
||||||
for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applications/kaffeine.desktop; do
|
for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applications/kaffeine.desktop; do
|
||||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||||
|
Loading…
Reference in New Issue
Block a user