From: Christian Heller <c.heller@plomlompom.de>
Date: Fri, 14 Feb 2020 23:35:50 +0000 (+0100)
Subject: Fix.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/processes?a=commitdiff_plain;h=aeca74f1c6b3647861ee70f63d818058e73a1a03;p=config

Fix.
---

diff --git a/buster/setup_scripts/migrate_app.sh b/buster/setup_scripts/migrate_app.sh
index 3be6870..cda12f5 100755
--- a/buster/setup_scripts/migrate_app.sh
+++ b/buster/setup_scripts/migrate_app.sh
@@ -14,10 +14,10 @@ server_ip="$1"
 app="$2"
 if [ "${app}" = "pleroma" ]; then
     db_name="pleroma"
-    dirs="/var/www/peertube/storage /var/www/peertube/config"
+    dirs="/var/lib/pleroma/uploads /etc/pleroma"
 elif [ "${app}" = "peertube" ]; then
     db_name="peertube_prod"
-    dirs="/var/lib/pleroma/uploads /etc/pleroma"
+    dirs="/var/www/peertube/storage /var/www/peertube/config"
 fi
 
 config_tree_prefix="${HOME}/config/buster"