install-tl-ubuntu icon indicating copy to clipboard operation
install-tl-ubuntu copied to clipboard

Using profile files with -p option requires specifying full paths

Open josombio opened this issue 9 years ago • 4 comments

When specifying a profile file to be used with the -p, --profile option, it is necessary to specify the full path to the profile file. The reason is that when install-tl-ubuntu executes install-tl, the later will search for profile files in its relative path, unless a full path is specified. And 'install-tl' is within the install-tl-20150126/ directory, downloaded by install-tl-ubuntu in the same folder.

For example, suppose that install-tl-ubuntu and example.profile are downloaded to the '/home/myuser/Download' directory. The following

cd /home/myuser/Download
sudo ./install-tl-ubuntu -p example.profile 

will not work (check the logs to verify) in the sense that the profile file will not be used (the process will continue with no complaints). Use instead

cd /home/myuser/Download
sudo ./install-tl-ubuntu -p /home/myuser/Downloads/example.profile 

josombio avatar Jan 26 '15 19:01 josombio

Thanks for this report, José. This bug should indeed be fixed. The fix is easy and I will put it in the next time I work on this script.

scottkosty avatar Jan 26 '15 21:01 scottkosty

I was bitten by this as well.

albertnetymk avatar Jul 02 '16 17:07 albertnetymk

@albertnetymk thanks for confirming this issue. I'm sorry I'm late in fixing this. I hope to work on this script again within the next month and will take a look at this issue then.

scottkosty avatar Jul 02 '16 18:07 scottkosty

It's not a serious problem, but it's good if it could be fixed. Installing/Updating TexLive has always been a pain, but finding your repo made my day. Thank you very much for creating/maintaining it.

albertnetymk avatar Jul 04 '16 11:07 albertnetymk