rm tmp
This commit is contained in:
parent
1373f46ef3
commit
f7adf8c03e
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ REPO_URL="https://github.com/${REPO}/tarball/${BRANCH}"
|
|||
SCRIPTS_URL="${BASE_URL}/scripts/"
|
||||
|
||||
cleanup() {
|
||||
echo "Cleaning up temporary files..."
|
||||
rm -f "$HOME/lightning_pub_tmp"/*.sh 2>/dev/null || true
|
||||
log "Cleaning up temporary files..."
|
||||
rm -rf "$HOME/lightning_pub_tmp" 2>/dev/null || true
|
||||
}
|
||||
|
||||
trap cleanup EXIT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue