home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / bin / kio_system_documenthelper < prev    next >
Encoding:
Text File  |  2005-09-10  |  338 b   |  15 lines

  1. #!/bin/sh
  2. # Script used by by the document.desktop entry to determine if it must be
  3. # shown or not
  4. #
  5. # Copyright GPL v2 by Kevin Ottens <ervin ipsquad net>
  6. #
  7.  
  8. document_path=`kde-config --userpath document | sed "s/\/\$//"`
  9. home_path=`echo $HOME | sed "s/\/\$//"`
  10.  
  11. if test "$document_path" != "$home_path" ; then
  12.   echo $document_path
  13. fi
  14.  
  15.