mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
commit
772daf8882
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@
|
|||
# Cleanup unnecessary files
|
||||
# The default DEPTH is 2 because the directory path is /var/lib/dist-git/git/rpms/<package>
|
||||
|
||||
REPODIR=$(crudini --get dist-git.conf dist-git gitroot_dir)
|
||||
DEPTH=$(crudini --get dist-git.conf dist-git git_gc_depth)
|
||||
REPODIR=$(crudini --get /etc/dist-git/dist-git.conf dist-git gitroot_dir)
|
||||
DEPTH=$(crudini --get /etc/dist-git/dist-git.conf dist-git git_gc_depth)
|
||||
|
||||
find "$REPODIR" -mindepth "$DEPTH" -maxdepth "$DEPTH" -type d |
|
||||
while read -r DIRECTORY; do
|
||||
|
|
Loading…
Add table
Reference in a new issue