otrego / go-type1

LaTeX fonts for professional-quality diagrams for the board game Go (Baduk, WeiQi)
Apache License 2.0
37 stars 4 forks source link

INSTALL_MODE #3

Closed ghost closed 3 years ago

ghost commented 3 years ago

The installer.sh script uses the INSTALL_MODE environment variable to set the mode, but then checks using the MODE variable.

When I first ran ./installer.sh install all, I got three errors like:

updmap [ERROR]: Either -sys or -user mode is required.
updmap [ERROR]: In nearly all cases you should use updmap -sys.
updmap [ERROR]: For special cases see https://tug.org/texlive/scripts-sys-user.html

When I replaced if [[ $MODE == "user" ]] with if [[ $INSTALL_MODE == "user" ]] (and also in the elif), there were no more errors.

artasparks commented 3 years ago

Oops, thanks! I'll send a fix.

artasparks commented 3 years ago

Ok, hopefully this is fixed now with https://github.com/otrego/go-type1/commit/75c8cecc878df4d31f2cd8d21527bf96aa29bcea