Skip to content

Commit

Permalink
allow packages without .deb suffix
Browse files Browse the repository at this point in the history
inside the mirror they may get the suffix .deb from reprepro
  • Loading branch information
Mrfai committed Aug 14, 2019
1 parent 1beeab3 commit e366fa4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/fai-mirror
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,9 @@ EOF
rm -f $archivedir/*~bpo[0-9]*+[0-9-]*_*.deb
fi

reprepro -b $mirrordir includedeb cskoeln $archivedir/*.deb
rm -r $archivedir/*.deb
# allow package without the .deb suffix. At least they must start with a char and contain an underscore or hyphen
reprepro --ignore=extension -b $mirrordir includedeb cskoeln $archivedir/[a-zA-z]*[_-]*
rm -r $archivedir/[a-zA-z]*[_-]*

echo "$0 finished."
echo -n "Mirror size and location: ";du -sh --exclude aptcache --exclude db $mirrordir
Expand Down

0 comments on commit e366fa4

Please sign in to comment.