From 229852f6f6e2413d6a30a81177915ab7f07aa3ff Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 13 Oct 2009 06:55:42 +0000 Subject: [PATCH] Updated build script git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14588 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/redhat/rpm-make-gosa | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gosa-core/redhat/rpm-make-gosa b/gosa-core/redhat/rpm-make-gosa index f5899da32..5d0a865f6 100755 --- a/gosa-core/redhat/rpm-make-gosa +++ b/gosa-core/redhat/rpm-make-gosa @@ -93,11 +93,15 @@ fi # Move help mkdir -p %{buildroot}/usr/share/gosa/doc/plugins/@@NAME@@ -mv ./help/* %{buildroot}/usr/share/gosa/doc/plugins/@@NAME@@ +if [ -d help ]; then + mv ./help/* %{buildroot}/usr/share/gosa/doc/plugins/@@NAME@@ +fi # Move localization mkdir -p %{buildroot}/usr/share/gosa/locale/plugins/@@NAME@@ -mv ./locale/* %{buildroot}/usr/share/gosa/locale/plugins/@@NAME@@ +if [ -d locale ]; then + mv ./locale/* %{buildroot}/usr/share/gosa/locale/plugins/@@NAME@@ +fi # Move plugin itself mkdir -p %{buildroot}/usr/share/gosa/plugins/@@NAME@@ -- 2.30.2