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" installPackage "wget"
[[ -d $OUTPUTDIR/SOURCES ]] || execute mkdir -p "$OUTPUTDIR/SOURCES" [[ -d $OUTPUTDIR/SOURCES ]] || execute mkdir -p "$OUTPUTDIR/SOURCES"
acquireDeb acquireDeb
debug "BUILD_TARGET=$BUILD_TARGET" if [[ $BUILD_TARGET =~ (centos|fedora|suse) ||
if [[ $BUILD_TARGET =~ (centos|fedora|suse) ]]; then $REPO_TARGET =~ (centos|fedora|suse) ]]; then
installPackage "dpkg" "rpm-build" installPackage "dpkg" "rpm-build"
[[ -d $OUTPUTDIR/SPECS ]] || execute mkdir -p "$OUTPUTDIR/SPECS" [[ -d $OUTPUTDIR/SPECS ]] || execute mkdir -p "$OUTPUTDIR/SPECS"
buildRPM buildRPM