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.
The
installer.sh
script uses theINSTALL_MODE
environment variable to set the mode, but then checks using theMODE
variable.When I first ran
./installer.sh install all
, I got three errors like:When I replaced
if [[ $MODE == "user" ]]
withif [[ $INSTALL_MODE == "user" ]]
(and also in theelif
), there were no more errors.