Change copy flag to not replace existing modules

This commit is contained in:
Sebastian Limbach 2017-04-12 20:21:51 +02:00
parent b688dcd4ba
commit 4f844abc0c
No known key found for this signature in database
GPG Key ID: B4E66C247054F17B

View File

@ -1,7 +1,7 @@
#!/bin/sh
if [ ! -f /opt/magic_mirror/modules ]; then
cp -R /opt/magic_mirror/unmount_modules/. /opt/magic_mirror/modules
cp -Rn /opt/magic_mirror/unmount_modules/. /opt/magic_mirror/modules
fi
if [ ! -f /opt/magic_mirror/config ]; then