get any old rpms

to prevent makerepo from falling over on broken symlinks
This commit is contained in:
Joey Hess 2019-12-18 14:33:29 -04:00
parent 6b2e471330
commit a94d804f63
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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