home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 28 Feb 2020 00:52:50 +0000 (01:52 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 28 Feb 2020 00:52:50 +0000 (01:52 +0100)
buster/setup_scripts/restore_app.sh

index 8850fe6683451f83f97dc7ac7baa442cc3bfddbc..817c07d1a062988c597184af43dbb921abf2236e 100755 (executable)
@@ -29,7 +29,7 @@ rm "${service}_backup/${db_name}.pgdump"
 cd "${service}_backup"
 for path in $(find . -type f); do
     if [ "${app}" = "pleroma_source" ]; then
 cd "${service}_backup"
 for path in $(find . -type f); do
     if [ "${app}" = "pleroma_source" ]; then
-        if [ "${path}" = '/opt/pleroma/config/prod.secret.exs' ]; then
+        if [ "${path}" = './opt/pleroma/config/prod.secret.exs' ]; then
             continue  # skip file that contains passwords
         fi
     fi
             continue  # skip file that contains passwords
         fi
     fi