Ignore:
Timestamp:
Jul 8, 2009, 5:37:30 PM (15 years ago)
Author:
waue
Message:

07 08 pm 5:37 fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.1/bin/nutchez-func.sh

    r94 r99  
    7272
    7373  cp ~/.nutchez/sav/n.urls.txt ~/.nutchez/urls/urls.txt
    74 
    75   if [ $NOCONTINUE -eq 1 ]; then
    76     echo_dialog_v " delete the ~/.nutchez/search/*"
    77     DATE=`date +%y%m%d%H%M%S`
    78     mv ~/.nutchez/search ~/.nutchez/search-$DATE
    79     $DIALOG --msgbox "上次搜尋的結果改放到 ~/.nutchez/search-$DATE " 0 0
    80     rm -f /tmp/search
    81 #    rm -rf ~/.nutchez/search/*
     74  if ! [ -z $NOCONTINUE ]; then
     75    if [ $NOCONTINUE -eq 1 ]; then
     76      echo_dialog_v " delete the ~/.nutchez/search/*"
     77      DATE=`date +%y%m%d%H%M%S`
     78      mv ~/.nutchez/search ~/.nutchez/search-$DATE
     79      $DIALOG --msgbox "上次搜尋的結果改放到 ~/.nutchez/search-$DATE " 0 0
     80      rm -f /tmp/search
     81  #    rm -rf ~/.nutchez/search/*
     82    fi
    8283  fi
    8384
Note: See TracChangeset for help on using the changeset viewer.