From e5bde183a5a44693a7d3cde72e8b40986ea03fad Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 3 Mar 2024 17:12:29 +0100 Subject: Support extracting gzip on the fly --- src/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Main.hs b/src/Main.hs index 900891e..92b27f4 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -61,7 +61,7 @@ import System.Console.ANSI , ConsoleLayer(..) ) import System.Directory (listDirectory, doesDirectoryExist, withCurrentDirectory, removeDirectoryRecursive) -import Control.Monad (filterM) +import Control.Monad (filterM, void) import Data.List (isPrefixOf, isSuffixOf, partition) import Conduit (runConduitRes, (.|), sourceFile) import Data.Functor ((<&>)) @@ -407,7 +407,7 @@ reuploadWithTemplate downloadTemplate commands packagePath version = do relativeTarball = Text.unpack $ packagePath <> "/" <> downloadFileName tarball = repository' relativeTarball - extractRemote uri' packagePath + void $ extractRemote uri' packagePath download' <- handleReupload relativeTarball downloadFileName checksum <- liftIO $ runConduitRes $ sourceFile tarball .| sinkHash -- cgit v1.2.3