summaryrefslogtreecommitdiff
path: root/app/Main.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2023-11-01 19:07:49 +0100
committerEugen Wissner <belka@caraus.de>2023-11-01 19:07:49 +0100
commit24e62c343946e0413648f14a1d17fb2007b91a86 (patch)
tree7198c137fcfdfd33dcbac2da6012534d605e6aac /app/Main.hs
parent64233c4c635f23b2aca4d69971869a795029f3de (diff)
downloadslackbuilder-24e62c343946e0413648f14a1d17fb2007b91a86.tar.gz
Update additional download versions in slackbuild
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 1793657..0337fba 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -385,7 +385,7 @@ updatePackage package@Package{..} info version = do
, checksums = getField @"md5sum" <$> allDownloads
}
liftIO $ Text.IO.writeFile infoFilePath $ generate package'
- updateSlackBuildVersion packagePath version
+ updateSlackBuildVersion packagePath version $ snd <$> moreDownloads
commit packagePath version
@@ -416,8 +416,6 @@ main = do
categories <- liftIO $ findCategory repository'
liftIO $ print $ splitFileName . makeRelative repository' <$> categories
pure Nothing
- SlackBuildCommand packagePath version ->
- updateSlackBuildVersion packagePath version >> pure Nothing
CommitCommand packagePath version ->
commit packagePath version >> pure Nothing
ExistsCommand urlPath -> pure . Text.pack . show