Version output is nicer with a newline at the end
Add support for --pretest

This currently installs the development version of TeX Live 2014
(which will be released soon). Automatic repo detection is supported.
This option should work for future pretesting periods, but note that
pretesting only occurs during about half of the year.
Add script to find equivs and improve control (#7)

The new script findEquivs has the goal of finding Debian packages
that a manual installation of TeX Live replaces. It works as follows:

(1) use apt-file to find packages that contain a file in /opt/texbin
(2) see which packages from (1) have all their binaries contained
    in /opt/texbin

This script could be improved to reduce false positives and to detect
packages that are equivalent that do not contain binaries. See
comments in the script for more ideas to improve it.

The following packages (found by findEquivs) are added:

  texlive-lang-cjk
  asymptote
  biber
  jadetex
  makejvf
  mendexk
  m-tx
  pdfjam
  pmx
  xmltex
Alphabetize package list

Also, remove a duplicate of musixtex.
Add asymptote-doc to Debian control (see #10)

findEquivs does not currently find non-binary package equivalents.

Thanks to Carlos da Costa.
Updates for TeX Live 2014

Note that nothing substantial needed to be changed for TeX Live 2014.
Pretest is over
Minor update to example profile for TeX Live 2014
Correct permissions for new AEA files

When extracted, the AEA folder containing the LaTeX files does
not have correct permissions and thus cannot be read by mktexlsr.
The permissions on all folders are now set by install-tl-ubuntu.
Overwrite existing /opt/texbin link (fixes #11)

This arises if there was a previous TeX Live installation,
such as if installing TeX Live 2014 when Tex Live 2013
was previously installed and not manually removed.

A warning is given to the user in case he/she would like to
manually remove the old TeX Live installation.

Thanks to adin for reporting the issue.
Fix when install resumes across dates (fixes #12)

We need `head -n 1` because there could be more than one directory
matching the pattern "install-tl-\d{8}" if e.g. the install resumes
across a date change. It should not matter which one we choose.

Thanks to Wylie Joshua Cullick for the bug report.