diff -Nru ghc-7.0.4-7.0.4/debian/changelog ghc-7.0.4-7.0.4/debian/changelog --- ghc-7.0.4-7.0.4/debian/changelog 2016-10-14 05:34:02.000000000 +0000 +++ ghc-7.0.4-7.0.4/debian/changelog 2016-10-16 21:49:21.000000000 +0000 @@ -1,5 +1,5 @@ -ghc-7.0.4 (7.0.4-11.9~yakkety) yakkety; urgency=medium +ghc-7.0.4 (7.0.4-13~16.10) yakkety; urgency=medium * Initial release - -- Herbert Valerio Riedel Fri, 14 Oct 2016 07:34:02 +0200 + -- Herbert Valerio Riedel Sun, 16 Oct 2016 23:49:21 +0200 diff -Nru ghc-7.0.4-7.0.4/debian/control ghc-7.0.4-7.0.4/debian/control --- ghc-7.0.4-7.0.4/debian/control 2016-10-14 05:34:02.000000000 +0000 +++ ghc-7.0.4-7.0.4/debian/control 2016-10-16 21:49:21.000000000 +0000 @@ -14,7 +14,7 @@ Package: ghc-7.0.4-prof Architecture: amd64 -Depends: ghc-7.0.4 (= 7.0.4-11.9~yakkety) +Depends: ghc-7.0.4 (= 7.0.4-13~16.10) Description: The Glasgow Haskell Compilation system This package contains the profiling libs diff -Nru ghc-7.0.4-7.0.4/debian/ghc-7.0.4.postinst ghc-7.0.4-7.0.4/debian/ghc-7.0.4.postinst --- ghc-7.0.4-7.0.4/debian/ghc-7.0.4.postinst 2016-10-14 05:34:02.000000000 +0000 +++ ghc-7.0.4-7.0.4/debian/ghc-7.0.4.postinst 2016-10-16 21:49:21.000000000 +0000 @@ -1,2 +1,6 @@ #! /bin/sh +set -e + touch /opt/ghc/7.0.4/lib/ghc-*/package.conf.d/package.cache + +update-alternatives --install /opt/ghc/bin/ghc opt-ghc /opt/ghc/bin/ghc-7.0.4 70004 --slave /opt/ghc/bin/runghc opt-runghc /opt/ghc/bin/runghc-7.0.4 --slave /opt/ghc/bin/ghci opt-ghci /opt/ghc/bin/ghci-7.0.4 --slave /opt/ghc/bin/ghc-pkg opt-ghc-pkg /opt/ghc/bin/ghc-pkg-7.0.4 --slave /opt/ghc/bin/haddock opt-haddock /opt/ghc/bin/haddock-ghc-7.0.4 #DEBHELPER# diff -Nru ghc-7.0.4-7.0.4/debian/ghc-7.0.4.prerm ghc-7.0.4-7.0.4/debian/ghc-7.0.4.prerm --- ghc-7.0.4-7.0.4/debian/ghc-7.0.4.prerm 1970-01-01 00:00:00.000000000 +0000 +++ ghc-7.0.4-7.0.4/debian/ghc-7.0.4.prerm 2016-10-16 21:49:21.000000000 +0000 @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +if test "$1" != upgrade +then + update-alternatives --remove opt-ghc /opt/ghc/bin/ghc-7.0.4 +fi + +#DEBHELPER#