From 043d546e404f82e3b01fa2841ac291de3e97eb64 Mon Sep 17 00:00:00 2001
From: Hugo Lefeuvre <hugo.lefeuvre@savoirfairelinux.com>
Date: Mon, 13 Aug 2018 10:11:59 -0400
Subject: [PATCH] packaging: add oci support for LMDE3

LMDE3 is based on Debian Stretch. Use debian_9 repo in this case.

Change-Id: I18c1162f20eb45fad7d3cc765a756eafdf7744d3
Gitlab: #490
Reviewed-by: Sebastien Blin <sebastien.blin@savoirfairelinux.com>
---
 packaging/rules/debian/ring-all.postinst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/packaging/rules/debian/ring-all.postinst b/packaging/rules/debian/ring-all.postinst
index 99c7a236..dbd84ad3 100755
--- a/packaging/rules/debian/ring-all.postinst
+++ b/packaging/rules/debian/ring-all.postinst
@@ -109,6 +109,9 @@ if [ -f /etc/os-release ]; then
         ENDTAG="ubuntu_16.04"
     elif [ "$ID" = "linuxmint" ] && [ "$UBUNTU_CODENAME" = "bionic" ]; then
         ENDTAG="ubuntu_18.04"
+    elif [ "$ID" = "linuxmint" ] && [ "$DEBIAN_CODENAME" = "stretch" ]; then
+        # LMDE3
+        ENDTAG="debian_9"
     else
         # Distribution is not supported. Don't provide automatic updates.
         CAN_ADD_DEB_SOURCE=false
-- 
GitLab