diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-01-19 09:57:58 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-01-19 09:57:58 +0100 |
| commit | 2802194063353f7c5e418b22ef51d1019abd32d2 (patch) | |
| tree | b61f00826104d8ff181b8fa4961c2e868f1d9935 /lib/SlackBuilder | |
| parent | 7edb811dc232e7843bbc857109cba959e376cf40 (diff) | |
| download | slackbuilder-2802194063353f7c5e418b22ef51d1019abd32d2.tar.gz | |
Make is64 property part of the updater
Diffstat (limited to 'lib/SlackBuilder')
| -rw-r--r-- | lib/SlackBuilder/Package.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SlackBuilder/Package.hs b/lib/SlackBuilder/Package.hs index 3b3a244..7d73976 100644 --- a/lib/SlackBuilder/Package.hs +++ b/lib/SlackBuilder/Package.hs @@ -34,7 +34,6 @@ data Package = Package data Download = Download { download :: URI , md5sum :: Digest MD5 - , is64 :: Bool } deriving (Eq, Show) -- | Package maintainer information. @@ -74,5 +73,6 @@ renderDownloadWithVersion (DownloadTemplate components) version = -- | Function used to get the latest version of a source. data Updater = Updater { detectLatest :: SlackBuilderT (Maybe Text) + , is64 :: Bool , getVersion :: Text -> Text -> SlackBuilderT Download } |
