diff -Nru ghc-7.0.3-7.0.3/debian/changelog ghc-7.0.3-7.0.3/debian/changelog --- ghc-7.0.3-7.0.3/debian/changelog 2016-10-14 05:45:29.000000000 +0000 +++ ghc-7.0.3-7.0.3/debian/changelog 2016-10-22 11:41:13.000000000 +0000 @@ -1,5 +1,5 @@ -ghc-7.0.3 (7.0.3-11.9~yakkety) yakkety; urgency=medium +ghc-7.0.3 (7.0.3-13~16.10) yakkety; urgency=medium * Initial release - -- Herbert Valerio Riedel Fri, 14 Oct 2016 07:45:29 +0200 + -- Herbert Valerio Riedel Sat, 22 Oct 2016 13:41:13 +0200 diff -Nru ghc-7.0.3-7.0.3/debian/control ghc-7.0.3-7.0.3/debian/control --- ghc-7.0.3-7.0.3/debian/control 2016-10-14 05:45:29.000000000 +0000 +++ ghc-7.0.3-7.0.3/debian/control 2016-10-22 11:41:13.000000000 +0000 @@ -14,7 +14,7 @@ Package: ghc-7.0.3-prof Architecture: amd64 -Depends: ghc-7.0.3 (= 7.0.3-11.9~yakkety) +Depends: ghc-7.0.3 (= 7.0.3-13~16.10) Description: The Glasgow Haskell Compilation system This package contains the profiling libs diff -Nru ghc-7.0.3-7.0.3/debian/ghc-7.0.3.postinst ghc-7.0.3-7.0.3/debian/ghc-7.0.3.postinst --- ghc-7.0.3-7.0.3/debian/ghc-7.0.3.postinst 2016-10-14 05:45:29.000000000 +0000 +++ ghc-7.0.3-7.0.3/debian/ghc-7.0.3.postinst 2016-10-22 11:41:13.000000000 +0000 @@ -1,2 +1,6 @@ #! /bin/sh +set -e + touch /opt/ghc/7.0.3/lib/ghc-*/package.conf.d/package.cache + +update-alternatives --install /opt/ghc/bin/ghc opt-ghc /opt/ghc/bin/ghc-7.0.3 70003 --slave /opt/ghc/bin/runghc opt-runghc /opt/ghc/bin/runghc-7.0.3 --slave /opt/ghc/bin/ghci opt-ghci /opt/ghc/bin/ghci-7.0.3 --slave /opt/ghc/bin/ghc-pkg opt-ghc-pkg /opt/ghc/bin/ghc-pkg-7.0.3 --slave /opt/ghc/bin/haddock opt-haddock /opt/ghc/bin/haddock-ghc-7.0.3 #DEBHELPER# diff -Nru ghc-7.0.3-7.0.3/debian/ghc-7.0.3.prerm ghc-7.0.3-7.0.3/debian/ghc-7.0.3.prerm --- ghc-7.0.3-7.0.3/debian/ghc-7.0.3.prerm 1970-01-01 00:00:00.000000000 +0000 +++ ghc-7.0.3-7.0.3/debian/ghc-7.0.3.prerm 2016-10-22 11:41:13.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.3 +fi + +#DEBHELPER#