diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-10-03 22:14:58 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-10-07 19:28:49 -0400 |
commit | d146f2433c1dc05043b0e226534f9e1dd479f1ef (patch) | |
tree | 103ee7c84c43847591b0128d27abca0f5cb4c6dd | |
parent | 9b9837c6271f3a559d018d1cf6dab3f10b3ad468 (diff) |
db-update: Clean up empty directories in $STAGING
-rwxr-xr-x | db-update | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -117,3 +117,5 @@ for repo in "${repos[@]}"; do repo_unlock "${repo}" "${pkgarch}" done done + +find "$STAGING" -depth -mindepth 1 -type d -empty -exec rmdir -- {} \; |