gnarlin / osget

Operating system image (.iso files usually) downloader which acts more like a package manager
GNU General Public License v3.0
41 stars 6 forks source link

Allow overriding CONFIGURATION_DIR through environment variable #3

Closed dsg22 closed 3 years ago

dsg22 commented 3 years ago

Use $OSDEV_CONFIGURATION_DIR environment variable for the configuration directory if specified, otherwise default to /etc/osget.

Makes it easier to use the script without installing using e.g.: OSDEV_CONFIGURATION_DIR=~/osget/etc/osget ~/osget/osget Ubuntu