Diff of /branches/magellan-next/include/xdg.sminc
Parent Directory | Revision Log | Patch
revision 4144 by niro, Thu Nov 26 11:00:10 2009 UTC | revision 4995 by niro, Sun Feb 28 11:10:20 2010 UTC | |
---|---|---|
# | Line 128 minstallxdg() | Line 128 minstallxdg() |
128 | ||
129 | [[ -z "$1" ]] && die "No xdg desktop file given" | [[ -z "$1" ]] && die "No xdg desktop file given" |
130 | ||
131 | # if no fullpath given use file from sourcedir | # if -s given use file from sourcedir |
if [[ $1 = -s ]] | ||
then | ||
file="${SOURCEDIR}/${PNAME}/$2" | ||
destfile="$3" | ||
else | ||
file="$1" | ||
fi | ||
132 | if [[ $1 = -s ]] | if [[ $1 = -s ]] |
133 | then | then |
134 | file="${SOURCEDIR}/${PNAME}/$2" | file="${SOURCEDIR}/${PNAME}/$2" |
|