torch / distro

Torch installation in a self-contained folder
BSD 3-Clause "New" or "Revised" License
556 stars 484 forks source link

Updated install-deps to make it work for Zorin OS also #200

Open rsnk96 opened 7 years ago

rsnk96 commented 7 years ago

Dependency installation script was not functioning on Zorin because previous script was unable to extract distro name and it extracted version number as (Zorin 12 runs on a Ubuntu 16 backend). Hence, even with hardcoding distro name as ubuntu, it would run the script for Ubuntu 12. Hence, I have provided an alternative for distro name and version detection, and also added code specific for installation on Zorin testing. I have tested the code and it works on my Zorin Core 12.

Also, my previous pull request was on a vanilla Ubuntu 16.04 system, and it works there. I have updated that in the readme.