This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# inspired by and used https://gist.github.com/mikaelhg/cae5b7938aa3dfdf3d06a40739f2f3f4 as a base | |
LIB_PATH=/usr/local | |
STORAGE_PATH=/media/user/path/to/big/drive | |
BASE_DOWNLOAD_HREF=https://developer.download.nvidia.com/compute | |
# Exit on first error (not always, but most of cases) | |
set -euxo pipefail |