Create cache directory if not exists.

This commit is contained in:
awalsh128 2021-10-12 12:16:56 -07:00
parent 65966ad776
commit ac03b4f3ff

6
run.sh
View file

@ -131,7 +131,13 @@ install_and_cache_pkg() {
}
validate_args
if [ -d $cache_dir ]; then
clean_cache
else
# Initial run of action; no directory will exist.
mkdir -p $cache_dir
fi
for package in $packages; do
echo "* Processing package $package..."