Cleanup rm cache output

This commit is contained in:
Dennis ten Hoove 2023-12-31 19:28:22 +01:00
parent 09bb539625
commit 0ca49ab57c

2
arkdep
View file

@ -315,7 +315,7 @@ remove_deployment () {
if [[ $clean_cache_on_remove -eq 1 ]]; then if [[ $clean_cache_on_remove -eq 1 ]]; then
# Only attempt remove if file exists # Only attempt remove if file exists
if ls $arkdep_dir/cache/ | grep $1; then if ls $arkdep_dir/cache/ | grep $1; then
rm -v $arkdep_dir/cache/$1.tar.* rm -v $(readlink -m $arkdep_dir/cache/$1.tar.*)
fi fi
fi fi