From b239ac7bbb3122b5539cbd3ad87bc830c00b107a Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Mon, 12 Aug 2019 13:17:07 -0400 Subject: [PATCH] Workaround to fix another /etc/mono/config problem case (cherry picked from commit 247f970aebe30d19a1c975880d604a74d2684002) Former-commit-id: 920f074eb1378c72932460e90a8516f3e7c020b4 --- debian/mono-gac.postinst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/mono-gac.postinst b/debian/mono-gac.postinst index 5edd6a1e9f..1bf9dfba1b 100644 --- a/debian/mono-gac.postinst +++ b/debian/mono-gac.postinst @@ -1,5 +1,10 @@ #!/bin/sh -e +# Work around for gacutil needing /etc/mono/config >= 5.20 +if [ -e /etc/mono/config.dpkg-new ]; then + mv /etc/mono/config.dpkg-new /etc/mono/config +fi + # On upgrades we need to repopulate the GAC and framework paths # to accomodate any changes in layout #