install-tl-ubuntu
install-tl-ubuntu copied to clipboard
Using profile files with -p option requires specifying full paths
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
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.
I was bitten by this as well.
@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.
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.