--- smage/trunk/include/xdg.sminc 2010/01/02 16:59:51 3 +++ smage/trunk/include/xdg.sminc 2010/12/07 21:21:39 914 @@ -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"