From: Chris Gianelloni Date: Wed, 23 Apr 2008 18:23:15 +0000 (+0000) Subject: Only copy the handbook icon if one exists. X-Git-Tag: CATALYST_2_0_6_916~94 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=208d4a509ffbdf87a39ffdcc1e498dca0dc45e66;p=catalyst.git Only copy the handbook icon if one exists. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1400 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 4978c707..ab2616d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 23 Apr 2008; Chris Gianelloni + targets/support/livecdfs-update.sh: + Only copy the handbook icon if one exists. + 21 Apr 2008; Chris Gianelloni modules/catalyst_lock.py: Fix a small typo. Thanks to Justin Bronder for diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 4857355b..9409f060 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -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 ]