From 8da5b96545ddf189f6acbb853cd7ecf0a78a666b Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 2 Dec 2008 14:40:33 +0000 Subject: [PATCH] Updated for plugins without html directory git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13121 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/redhat/rpm-make-gosa | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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} -- 2.30.2