Fix script syntax.
This commit is contained in:
parent
7dfe2c32f2
commit
6dbaadfc1e
2 changed files with 2 additions and 2 deletions
|
@ -19,6 +19,6 @@ for package in $packages; do
|
|||
if test -f $f; then echo $f; fi;
|
||||
done |
|
||||
xargs tar -czf $cache_filepath -C /
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Action complete. ${#packages[@]} package(s) installed and cached."
|
||||
|
|
|
@ -10,6 +10,6 @@ for cache_filepath in $(ls $cache_dir); do
|
|||
echo "* Restoring $package from cache $cache_filepath... "
|
||||
sudo tar -xf $cache_filepath -C $cache_restore_root
|
||||
sudo apt-get --yes --only-upgrade install $package
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Action complete. ${#packages[@]} package(s) restored."
|
||||
|
|
Loading…
Reference in a new issue