Skip to content

Commit

Permalink
print number of packages inside the mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Sep 25, 2022
1 parent 42666b9 commit 78e467e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/fai-mirror
Original file line number Diff line number Diff line change
Expand Up @@ -399,5 +399,7 @@ reprepro --ignore=extension -b $mirrordir includedeb cskoeln $archivedir/[a-zA-Z
rm -r $archivedir/[a-zA-Z]*[_-]*

echo "$0 finished."
echo -n "Number of packages in the mirror: "
find $mirrordir -name \*.deb | wc -l
echo -n "Mirror size and location: ";du -sh --exclude aptcache --exclude db $mirrordir
cleandirs

0 comments on commit 78e467e

Please sign in to comment.