From 6cc7a2957040c2d751a14c3776cf144152be4dd0 Mon Sep 17 00:00:00 2001 From: "sven.panne@aedion.de" Date: Sun, 16 Sep 2007 08:43:39 +0000 Subject: [PATCH] Make DESTDIR work again installPackage is a horror, using --force is probably not the perfect way to make DESTDIR functionality work again, but given the current state of affairs, I can't find a quick and clean solution. MERGE TO STABLE --- libraries/installPackage.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/installPackage.hs b/libraries/installPackage.hs index 475a55e..5946a6b 100644 --- a/libraries/installPackage.hs +++ b/libraries/installPackage.hs @@ -85,7 +85,7 @@ doit destdir ipref ibindir ilibdir ilibexecdir idatadir idocdir prog = ConfiguredProgram { programId = programName ghcPkgProgram, programVersion = Nothing, - programArgs = ["--global-conf", ghcpkgconf], + programArgs = ["--force", "--global-conf", ghcpkgconf], programLocation = UserSpecified ghcpkg } progs' = updateProgram prog progs -- 1.7.10.4