Laid the ground work for the download of the latest YNAB4 version.
Option to download is present now if no installer is found. File is then
downloaed to the /tmp directory.

To-Do:
- Check the versions of found installers and compare to the latest version
- Get the install script to view the downloaded file properly. Having some
  trouble there...

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Merge branch 'master' into download_latest_version

Conflicts:
	YNAB4_LinuxInstall.pl
Added a new option to download, install, and link to dropbox. Got
it working when LWP::Simple is available.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Made some progress on the wget/curl processes. Time for bed.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Used a better update page, graciously provided by the YNAB team.
Still more work to do on wget and curl, but it's working with LWP::Simple

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Focusing on LWP here, I'll make a sub-branch for wget and curl, respectively.
Also, grabbed the md5 so that we can validate the downloaded file.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
LWP is now downloading, md5-ing, and successfully installing
YNAB4. I'm sure it's not pretty, but it works.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Broke out the download MD5-checking into a subroutine. Should save at
least a little bit of typing later on.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Broke out the regexp searches into a sub, so we can easily use the same
stuff with lwp/wget/curl.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Worked through wget to find, download, and install the latest
version of YNAB4.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Removed the call to the Digest::MD5 module (for now).

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Just a stupid little re-wording of a print statement, but git won't
let me merge without committing haha

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Curl seems to be working now. Things are looking good, as far as
I can tell.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Worked out curl to find/download/install the latest version of YNAB4

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Added some comments so that my madness might make sense to somebody
other than me.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Forgot to really check for wget, after I was testing for curl. Oops.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Got the Digest::MD5 module working. I wasn't opening the file before
trying to hash it. So, I think I was hashing the location rather
than the file itself.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Changed the 'validate_download' subprocess to evaluate whether
or not the user has Digest::MD5 installed, and to die if they
don't.

Also removed the lower-case conversion of the MD5 string provided by YNAB;
It seems better to keep that value as intact as possible. The calculated
MD5 is now converted to upper-case during the comparison process.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Added the functionality to check the installed version of YNAB4, and
quit the download/install process if the installed version is up-to-date

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>
Merge pull request #7 from ElliotFriend/download_latest_version

Merge changes from ElliotFriend that add the option to download the latest YNAB4 installer for you.