fix cleanup of old rpms
This commit is contained in:
parent
fcdd6d0c53
commit
f83ead0240
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ buildrpms topdir l = do
|
||||||
<$> liftIO (getDirectoryContents rpmrepo)
|
<$> liftIO (getDirectoryContents rpmrepo)
|
||||||
forM_ tarrpmarches $ \(tararch, rpmarch) ->
|
forM_ tarrpmarches $ \(tararch, rpmarch) ->
|
||||||
forM_ (filter (isstandalonetarball tararch . fst) l) $ \(tarball, v) -> do
|
forM_ (filter (isstandalonetarball tararch . fst) l) $ \(tarball, v) -> do
|
||||||
liftIO $ mapM_ nukeFile (filter ((tararch ++ ".rpm") `isSuffixOf`) oldrpms)
|
liftIO $ mapM_ nukeFile (filter ((rpmarch ++ ".rpm") `isSuffixOf`) oldrpms)
|
||||||
void $ liftIO $ boolSystem script
|
void $ liftIO $ boolSystem script
|
||||||
[ Param rpmarch
|
[ Param rpmarch
|
||||||
, File tarball
|
, File tarball
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue