From 2be859a9e0cff28709baa22b4291387bc350c700 Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Sat, 13 Dec 2014 16:23:15 -0800 Subject: [PATCH] Fixed autobackup --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d7122b4..263d869 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ install: sudo cp -f mumbledj /usr/local/bin/mumbledj mkdir -p ~/.mumbledj/config mkdir -p ~/.mumbledj/songs - -mv ~/.mumbledj/config/config.toml ~/.mumbledj/config/config_backup.toml + if [ -a ~/.mumbledj/config/config.toml ]; then mv ~/.mumbledj/config/config.toml ~/.mumbledj/config/config_backup.toml; fi; cp -u config.toml ~/.mumbledj/config/config.toml install_deps: