summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrendan Abolivier2016-03-14 21:27:58 +0100
committerBrendan Abolivier2016-03-14 21:27:58 +0100
commite717fc58db41806441d424a50488fc4dc5e14c60 (patch)
tree9d06fef717539fe47a0475e6a1d1ee5cf7287665
parent7de830bb3ad96e03703ddeb2be7afe487916a09a (diff)
downloadaur-e717fc58db41806441d424a50488fc4dc5e14c60.tar.gz
Safer
-rw-r--r--cozy.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/cozy.install b/cozy.install
index 5b9c94a2b7b..23711bb8295 100644
--- a/cozy.install
+++ b/cozy.install
@@ -53,7 +53,7 @@ post_install() {
if [ ! -f /etc/cozy/couchdb.login ]; then
if [ ! -f /tmp/couchdb.login ]; then
msg 'Found tokens from previous installation'
- mv /tmp/couchdb.login /etc/cozy/couchdb.login
+ cp /tmp/couchdb.login /etc/cozy/couchdb.login
else
msg 'Generating CouchDB tokens...'
pwgen -1 > /etc/cozy/couchdb.login && \