From: hickert Date: Tue, 13 Oct 2009 06:55:42 +0000 (+0000) Subject: Updated build script X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=229852f6f6e2413d6a30a81177915ab7f07aa3ff;p=gosa.git Updated build script git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14588 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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@@