Sfoglia il codice sorgente

Build with createrepo

bryan 2 anni fa
parent
commit
4435606de2
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      installJRMC

+ 2 - 2
installJRMC

@@ -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