From 532081762781468336d4e801d850fc9e7d4f39c0 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Sat, 26 Oct 2024 23:25:50 +0530 Subject: [PATCH] Make the ensure_cabal similar to ensure_ghc --- packcheck.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packcheck.sh b/packcheck.sh index 227a70b..789c64b 100755 --- a/packcheck.sh +++ b/packcheck.sh @@ -1168,8 +1168,7 @@ ensure_cabal() { if test -n "$(need_stack)" then stack_install_tool cabal-install - elif test -n "$GHCUP_VERSION" - then + else ghcup_install cabal $CABALVER if test -n "$CABALVER" then