Magellan Linux

Diff of /smage/trunk/include/xdg.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 913 by niro, Sat Jan 2 16:59:51 2010 UTC revision 914 by niro, Tue Dec 7 21:21:39 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"

Legend:
Removed from v.913  
changed lines
  Added in v.914