Update postinst

This commit is contained in:
Rushabh Vasani 2019-10-18 16:54:39 +05:30 committed by GitHub
parent a051e41c06
commit de8aaf5aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
debian/postinst vendored
View file

@ -109,6 +109,12 @@ log("Upgrading pip to the latest version")
# Update pip
handleStatus(sc(["pip3", "install", "--upgrade", "pip"]))
log("Upgrading numpy to the lateset version")
# Update numpy
handleStatus(subprocess.call(["pip3", "install", "--upgrade", "numpy"]))
log("Downloading and unpacking data files")
# Run the bash script to download and unpack the .dat files needed