Fix conditionals for install and restore.
This commit is contained in:
parent
dec2761421
commit
4e7f5ac971
1 changed files with 1 additions and 1 deletions
|
@ -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