From aeca74f1c6b3647861ee70f63d818058e73a1a03 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 15 Feb 2020 00:35:50 +0100
Subject: [PATCH] Fix.

---
 buster/setup_scripts/migrate_app.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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"
-- 
2.30.2