Build with createrepo

This commit is contained in:
2023-04-05 15:10:10 -04:00
parent 7263241950
commit 4435606de2

View File

@@ -1757,8 +1757,8 @@ main() {
installPackage "wget"
[[ -d $OUTPUTDIR/SOURCES ]] || execute mkdir -p "$OUTPUTDIR/SOURCES"
acquireDeb
debug "BUILD_TARGET=$BUILD_TARGET"
if [[ $BUILD_TARGET =~ (centos|fedora|suse) ]]; then
if [[ $BUILD_TARGET =~ (centos|fedora|suse) ||
$REPO_TARGET =~ (centos|fedora|suse) ]]; then
installPackage "dpkg" "rpm-build"
[[ -d $OUTPUTDIR/SPECS ]] || execute mkdir -p "$OUTPUTDIR/SPECS"
buildRPM