Browse Source

Don't build rpm on buntu

bryan 3 years ago
parent
commit
437ff32cf9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -1521,7 +1521,7 @@ main() {
     if (( BUILD_SWITCH )); then
         installPackage "wget" "dpkg" "rpm-build"
         acquireDeb
-        buildRPM
+        [[ "$TARGET" =~ (centos|fedora|suse) ]] && buildRPM
     fi
 
     if (( DEB_INSTALL_SWITCH )); then