mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01: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:
parent
dc663472c2
commit
307ecced06
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user