[ewg] [PATCH v2] installer: Add a dependency of krb5-devel to rnfs-utils

Yossi Etigin yosefe at voltaire.com
Fri Apr 10 12:31:53 PDT 2009


  Make rnfs-utils depend on krb5-devel on all distros instead of
just redhat and fedora.

Signed-off-by: Yossi Etigin <yosefe at voltaire.com>

---

diff --git a/install.pl b/install.pl
index f5cb31d..bf70c48 100755
--- a/install.pl
+++ b/install.pl
@@ -2637,15 +2637,15 @@ sub check_linux_dependencies
                 }
             }
             if ($package eq "rnfs-utils") {
+                if (not is_installed("krb5-devel")) {
+                    print RED "krb5-devel is required to build rnfs-utils.", RESET "\n";
+                    $err++;
+                }
                 if ($distro eq "redhat" or $distro eq "fedora" or $distro eq 'redhat5') {
                     if (not is_installed("krb5-libs")) {
                         print RED "krb5-libs is required to build rnfs-utils.", RESET "\n";
                         $err++;
                     }
-                    if (not is_installed("krb5-devel")) {
-                        print RED "krb5-devel is required to build rnfs-utils.", RESET "\n";
-                        $err++;
-                    }
                 } else {
                     if (not is_installed("krb5")) {
                         print RED "krb5 is required to build rnfs-utils.", RESET "\n";



More information about the ewg mailing list