From f7dbe6c65381a5b35c82e6ebec15c69e4c6c494c Mon Sep 17 00:00:00 2001
From: Benjamin Renard <brenard@easter-eggs.com>
Date: Wed, 9 Feb 2022 12:59:55 +0100
Subject: [PATCH] Set Debian default media root directory

---
 debian/debian_config.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/debian_config.py b/debian/debian_config.py
index d3181f43..c70d928d 100644
--- a/debian/debian_config.py
+++ b/debian/debian_config.py
@@ -13,6 +13,7 @@ MIDDLEWARE = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLEWARE
 DEBUG = False
 
 STATIC_ROOT = '/var/lib/authentic2/collectstatic/'
+MEDIA_ROOT = '/var/lib/authentic2/media/'
 STATICFILES_DIRS = ('/var/lib/authentic2/static',)
 TEMPLATES[0]['DIRS'] = ['/var/lib/authentic2/templates'] + TEMPLATES[0]['DIRS']
 LOCALE_PATHS = ('/var/lib/authentic2/locale',) + LOCALE_PATHS
-- 
2.30.2

