]> git.donarmstrong.com Git - bin.git/commitdiff
* Ignore mising files/folders
authorDon Armstrong <don@donarmstrong.com>
Mon, 26 Jun 2006 07:00:36 +0000 (07:00 +0000)
committerDon Armstrong <don@donarmstrong.com>
Mon, 26 Jun 2006 07:00:36 +0000 (07:00 +0000)
deletemailbox

index cdd6f3224136f0b3001ccc2f3ef279acfb723d5b..d21a8f41a5412457b8eef869cc0b26701e403f7a 100755 (executable)
@@ -82,7 +82,7 @@ $DEBUG = $options{debug};
 for my $mbox (@ARGV) {
      # Delete ~/.offlineimap/Repository-{Local,Remote}Lists/FolderValidity/mbox
      # initialcaps account needed for the account name
-     my $cmd = qq(rm $options{offlineimap}/Repository-Local).
+     my $cmd = qq(rm -f $options{offlineimap}/Repository-Local).
          ucfirst($options{account}).
               qq(/FolderValidity/$mbox;\n);
      print $cmd;
@@ -93,7 +93,7 @@ for my $mbox (@ARGV) {
      print $cmd;
      qx($cmd);
      # Delete ~/.offlineimap/Account-Lists/mbox
-     $cmd =  qq(rm $options{offlineimap}/Account-).ucfirst($options{account}).
+     $cmd =  qq(rm -f $options{offlineimap}/Account-).ucfirst($options{account}).
          qq(/LocalStatus/$mbox;\n);
      print $cmd;
      qx($cmd);