Cleanup rm cache output
This commit is contained in:
parent
09bb539625
commit
0ca49ab57c
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue