From: cajus Date: Tue, 2 Dec 2008 14:40:33 +0000 (+0000) Subject: Updated for plugins without html directory X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8da5b96545ddf189f6acbb853cd7ecf0a78a666b;p=gosa.git Updated for plugins without html directory git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13121 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/redhat/rpm-make-gosa b/gosa-core/redhat/rpm-make-gosa index 9bbfc6815..a7bd42500 100755 --- a/gosa-core/redhat/rpm-make-gosa +++ b/gosa-core/redhat/rpm-make-gosa @@ -67,7 +67,9 @@ BuildArch: noarch # Move extra HTML and images mkdir -p %{buildroot}/usr/share/gosa/html/plugins/@@NAME@@ -mv ./html/* %{buildroot}/usr/share/gosa/html/plugins/@@NAME@@ +if [ -d html ]; then + mv ./html/* %{buildroot}/usr/share/gosa/html/plugins/@@NAME@@ +fi # Move contrib if available mkdir -p %{buildroot}/usr/share/doc/%{name}