dont log deletion of deletelist.txt

This commit is contained in:
zzz
2017-02-05 14:58:47 +00:00
parent bbbbfe2417
commit aa098ac800

View File

@@ -202,16 +202,17 @@ public class InstallUpdate {
if (df.isAbsolute())
continue;
df = new File(context.getBaseDir(), fl);
if (df.exists() && !df.isDirectory()) {
if (df.exists() && df.isFile()) {
if (df.delete())
System.out.println("INFO: File [" + fl + "] deleted");
}
}
} catch (IOException ioe) {}
finally {
} catch (IOException ioe) {
} finally {
if (in != null) try { in.close(); } catch(IOException ioe) {}
if (deleteFile.delete())
System.out.println("INFO: File [" + DELETE_FILE + "] deleted");
if (deleteFile.delete()) {
//System.out.println("INFO: File [" + DELETE_FILE + "] deleted");
}
}
}
}