Diff of /branches/R11-unstable/include/xdg.sminc
Parent Directory | Revision Log | Patch
trunk/core/include/xdg.sminc revision 4144 by niro, Thu Nov 26 11:00:10 2009 UTC | branches/magellan-next/include/xdg.sminc revision 6654 by niro, Tue Sep 14 16:46:32 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" |
|