Skip to content
Browse files

Fix snapshot folder typo, include .git

  • Loading branch information...
Cat5TV committed Aug 21, 2019
1 parent 322e1f8 commit afbacaa874330c137394cfcdc76c79316607f84d
Showing with 2 additions and 2 deletions.
  1. +2 −2 build/001-nems-www
@@ -9,11 +9,11 @@ useradd www-data
chown -R www-data:www-data nems-www

# Detect if the snapshot folder is mounted (which means this is Docker)
if [[ -e /var/www/html/backup/snapshots/ ]]; then
if [[ -e /var/www/html/backup/snapshot/ ]]; then
# Docker, so rsync instead of replace
apt-get update
apt-get install -y rsync
rsync -a nems-www/ html/
rsync -a nems-www/. html/
rm -rf nems-www
# All other platforms (not Docker)

0 comments on commit afbacaa

Please sign in to comment.
You can’t perform that action at this time.