From 72b3d1782cf78b8fd8dbdc7bc8e9d650d274617c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 6 Dec 2012 16:55:48 +0100 Subject: [PATCH] livecd-root: post.inc.sh: exit on error if adding kde favorites fails --- platforms/livecd-root/post.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/livecd-root/post.inc.sh b/platforms/livecd-root/post.inc.sh index cf9d30d..e2fbb9c 100644 --- a/platforms/livecd-root/post.inc.sh +++ b/platforms/livecd-root/post.inc.sh @@ -44,7 +44,7 @@ cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime # configure favorites in kde menu 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 for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do