mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Fix conditionals for install and restore.
This commit is contained in:
parent
dec2761421
commit
4e7f5ac971
|
@ -21,7 +21,7 @@ packages="${@:5}"
|
||||||
|
|
||||||
script_dir=$(dirname $0)
|
script_dir=$(dirname $0)
|
||||||
|
|
||||||
if [ ! $cache_hit ] || [ $refresh ]; then
|
if [ "$cache_hit" == false ] || [ "$refresh" == true ]; then
|
||||||
$script_dir/install_and_cache_pkgs.sh ~/cache-apt-pkgs $packages
|
$script_dir/install_and_cache_pkgs.sh ~/cache-apt-pkgs $packages
|
||||||
else
|
else
|
||||||
$script_dir/restore_pkgs.sh ~/cache-apt-pkgs $cache_restore_root
|
$script_dir/restore_pkgs.sh ~/cache-apt-pkgs $cache_restore_root
|
||||||
|
|
Loading…
Reference in a new issue