mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 02:24:16 +02:00
[trunk] EssentialsUpgrade: rename backup to .upgradebackup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1232 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -67,7 +67,7 @@ public class EssentialsUpgrade {
|
||||
br.close();
|
||||
bw.close();
|
||||
if (needUpdate) {
|
||||
file.renameTo(new File(file.getParentFile(), file.getName().concat("."+System.currentTimeMillis()+".upgraded")));
|
||||
file.renameTo(new File(file.getParentFile(), file.getName().concat("."+System.currentTimeMillis()+".upgradebackup")));
|
||||
tempFile.renameTo(file);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user