浏览代码

fix PATH for initial basictex setup

Kyle P Davis 8 年之前
父节点
当前提交
890dc375b1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gimmes/basictex

+ 2 - 2
gimmes/basictex

@@ -3,9 +3,9 @@ set -o errexit -o pipefail
 if ! has tlmgr; then
 if ! has tlmgr; then
 	if [[ "$OS" = "Darwin" ]]; then
 	if [[ "$OS" = "Darwin" ]]; then
 		brew cask install basictex
 		brew cask install basictex
+		export PATH="$PATH:/Library/TeX/texbin"
 		sudo tlmgr update --self
 		sudo tlmgr update --self
-		sudo tlmgr install titling
-		sudo tlmgr install framed
+		sudo tlmgr install titling framed
 	else
 	else
 		echo "TODO: add BasicTex for Linux!"
 		echo "TODO: add BasicTex for Linux!"
 	fi
 	fi