X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=26ef566054460912ebc7ff4f55e552874c8adf27;hp=cd2e1ca656ccc206b6817a260529fb2788742f9e;hb=cc29a9eaa8912af5bcf3ba00fb8a04e19e57a32d;hpb=57c8a44f217a0e6fc4cdbfbcdd54108ca5602fba diff --git a/autoconfig.functions b/autoconfig.functions index cd2e1ca..26ef566 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Klaus Knopper , (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mon Apr 16 19:32:25 CEST 2007 [mika] +# Latest change: Son Apr 22 14:01:33 CEST 2007 [mika] ################################################################################ # {{{ path, variables, signals, umask, zsh @@ -2243,6 +2243,8 @@ if checkbootparam "distri"; then DISTRI="$(getbootparam 'distri' 2>>$DEBUG)" if [ -r /cdrom/desktop/"$DISTRI".jpg ] ; then [ -n "$BOOTDEBUG" ] && einfo "Debug: bootoption distri found and file /cdrom/desktop/$DISTRI present" && eend 0 + # make sure the desktop.jpg file is not a symlink, so copying does not file then + [ -L /usr/share/grml/desktop.jpg ] && rm /usr/share/grml/desktop.jpg cp /cdrom/desktop/"$DISTRI".jpg /usr/share/grml/desktop.jpg fi fi