Support modifying reuploaded tarballs
This commit is contained in:
@@ -17,15 +17,14 @@ import qualified Text.URI as URI
|
||||
import Crypto.Hash (Digest, MD5)
|
||||
import SlackBuilder.Trans
|
||||
import Control.Monad.Catch (MonadThrow)
|
||||
import System.Process (CmdSpec(..))
|
||||
|
||||
-- | Contains information how a package can be updated.
|
||||
data Package = Package
|
||||
{ latest :: Updater
|
||||
, category :: Text
|
||||
, name :: Text
|
||||
, homepage :: URI
|
||||
, requires :: [Text]
|
||||
, reupload :: Bool
|
||||
, reupload :: Maybe [CmdSpec]
|
||||
}
|
||||
|
||||
-- | Download URI with the MD5 checksum of the target.
|
||||
|
Reference in New Issue
Block a user