From a94d804f63187d62d30f4583e267243300b7d541 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 18 Dec 2019 14:33:29 -0400 Subject: [PATCH] get any old rpms to prevent makerepo from falling over on broken symlinks --- Build/DistributionUpdate.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Build/DistributionUpdate.hs b/Build/DistributionUpdate.hs index 4f9304a31e..d3e498736f 100644 --- a/Build/DistributionUpdate.hs +++ b/Build/DistributionUpdate.hs @@ -232,6 +232,7 @@ buildrpms topdir l = do , Param v , File rpmrepo ] + void $ inRepo $ runBool [Param "annex", Param "get", File rpmrepo] void $ liftIO $ boolSystem "createrepo" [File rpmrepo] void $ inRepo $ runBool [Param "annex", Param "add", File rpmrepo] where