Explorar o código

Build with createrepo

bryan %!s(int64=2) %!d(string=hai) anos
pai
achega
4435606de2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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