From c7d0f7831751ad12ef91186e3add352c13d1fa97 Mon Sep 17 00:00:00 2001 From: Jacob Hummer Date: Sun, 17 Dec 2023 14:09:01 -0600 Subject: [PATCH] swap --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index bb10517..77e7cff 100644 --- a/install.sh +++ b/install.sh @@ -29,9 +29,9 @@ typst_install="${TYPST_INSTALL:-$HOME/.typst}" mkdir -p "$typst_install" if [ -n "$1" ]; then - url="https://github.com/typst/typst/releases/latest/download/$file" -else url="https://github.com/typst/typst/releases/download/$1/$file" +else + url="https://github.com/typst/typst/releases/latest/download/$file" fi echo "Downloading Typst from $url"