22 lines
949 B
Diff
22 lines
949 B
Diff
diff -up cabal-install-1.16.0.2/Distribution/Client/Update.hs.orig cabal-install-1.16.0.2/Distribution/Client/Update.hs
|
|
--- cabal-install-1.16.0.2/Distribution/Client/Update.hs.orig 2013-05-05 05:56:19.000000000 +0900
|
|
+++ cabal-install-1.16.0.2/Distribution/Client/Update.hs 2014-02-06 13:58:52.439678760 +0900
|
|
@@ -29,7 +29,7 @@ import Distribution.Package
|
|
import Distribution.Version
|
|
( anyVersion, withinRange )
|
|
import Distribution.Simple.Utils
|
|
- ( warn, notice, writeFileAtomic )
|
|
+ ( warn, notice, info, writeFileAtomic )
|
|
import Distribution.Verbosity
|
|
( Verbosity )
|
|
|
|
@@ -77,7 +77,7 @@ checkForSelfUpgrade verbosity repos = do
|
|
, version `withinRange` preferredVersionRange ]
|
|
|
|
when (not (null laterPreferredVersions)) $
|
|
- notice verbosity $
|
|
+ info verbosity $
|
|
"Note: there is a new version of cabal-install available.\n"
|
|
++ "To upgrade, run: cabal install cabal-install"
|
|
|