1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-11-07 21:20:07 +01:00

👌 Copy file, do not move

This commit is contained in:
2022-06-15 17:54:08 +02:00
parent 721bb32087
commit 4d5b5de84b
2 changed files with 5 additions and 5 deletions

View File

@@ -231,7 +231,7 @@ class Preferences {
private func moveOutdatedConfigurationFile() {
if Filesystem.fileExists("~/.phpmon.conf.json") && !Filesystem.fileExists("~/.config/phpmon/config.json") {
Log.info("An outdated configuration file was found. Moving it...")
Shell.run("mv ~/.phpmon.conf.json ~/.config/phpmon/config.json")
Shell.run("cp ~/.phpmon.conf.json ~/.config/phpmon/config.json")
Log.info("The configuration file was moved successfully!")
}
}