Only copy the handbook icon if one exists.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 23 Apr 2008 18:23:15 +0000 (18:23 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 23 Apr 2008 18:23:15 +0000 (18:23 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1400 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/livecdfs-update.sh

index 4978c707a1857a44e884d04da7416c6faebec5df..ab2616d6e03eac877e72d1cb135174e3deb17100 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  23 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/support/livecdfs-update.sh:
+  Only copy the handbook icon if one exists.
+
   21 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
   modules/catalyst_lock.py:
   Fix a small typo. Thanks to Justin Bronder <jsbronder@gentoo.org> for
index 4857355be34d554bed794bc518d840759d998f55..9409f06069cec9b6cce45709c0b4635a044961f4 100755 (executable)
@@ -335,7 +335,8 @@ case ${clst_livecd_type} in
                        do
                                mkdir -p /home/${username}/Desktop
                                # Copy our Handbook icon
-                               cp -f /usr/share/applications/gentoo-handbook.desktop \
+                               [ -e /usr/share/applications/gentoo-handbook.desktop ] && \
+                                       cp -f /usr/share/applications/gentoo-handbook.desktop \
                                        /home/${username}/Desktop
                                # Copy our installer icons
                                if [ -e /usr/share/applications/installer-gtk.desktop ]