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 #