--- trunk/core/include/xdg.sminc 2009/11/26 11:00:10 4144 +++ trunk/core/include/xdg.sminc 2010/02/28 11:10:20 4995 @@ -128,16 +128,7 @@ [[ -z "$1" ]] && die "No xdg desktop file given" - # if no fullpath given use file from sourcedir - if [[ $1 = -s ]] - then - file="${SOURCEDIR}/${PNAME}/$2" - destfile="$3" - - else - file="$1" - fi - + # if -s given use file from sourcedir if [[ $1 = -s ]] then file="${SOURCEDIR}/${PNAME}/$2"