Skip to content

Commit

Permalink
fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Dec 17, 2023
1 parent aa8a761 commit 958f6f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mv -f "$typst_install/$folder/typst" "$typst_install/bin/typst"
chmod +x "$typst_install/bin/typst"

mv -f "$typst_install/$folder"/* "$typst_install"
rm -rf "$typst_install/$folder"
rm -rf "${typst_install:?}/$folder"

echo "Typst installed to $typst_install/bin/typst"

Expand All @@ -58,7 +58,7 @@ else
Manually add the directory to your \$HOME/$shell_profile (or similar)
export TYPST_INSTALL=\"$typst_install\"
export PATH=\"\$TYPST_INSTALL/bin:\$PATH\"
Run '$exe --help' to get started
Run '$typst_install/bin/typst --help' to get started
EOF
fi

Expand Down

0 comments on commit 958f6f3

Please sign in to comment.