[debian-edu-commits] debian-edu/pkg-team/ 12/32: Imported Debian patch 2.7.3-2

Mike Gabriel sunweaver at debian.org
Tue Apr 1 16:52:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository gosa.

commit a75c41286e35c57036474cf3219c8bd1f956889e
Author: Cajus Pollmeier <cajus at debian.org>
Date:   Thu Mar 22 13:58:59 2012 +0100

    Imported Debian patch 2.7.3-2
---
 debian/changelog   |  7 +++++++
 debian/gosa.postrm | 24 ++++++++++++++++--------
 debian/po/pt_BR.po | 41 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 64 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 57487cd..979ab36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gosa (2.7.3-2) unstable; urgency=low
+
+  * Fixed purge in postrm script (Closes: #664852)
+  * Brazilian Portuguese debconf templates translation (Closes: #662178)
+
+ -- Cajus Pollmeier <cajus at debian.org>  Thu, 22 Mar 2012 13:58:59 +0100
+
 gosa (2.7.3-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/gosa.postrm b/debian/gosa.postrm
index 6a4a072..253fcf3 100644
--- a/debian/gosa.postrm
+++ b/debian/gosa.postrm
@@ -3,18 +3,26 @@
 #
 
 set -e
+set -x
 
 case "$1" in
-  purge|remove)
-
-        # Pure here
-        if [ "$1" = "purge" ] ; then
-          if [ -d /var/spool/gosa ] ; then
-            echo "Removing /var/spool/gosa as requested."
-            rm -Rf /var/spool/gosa
-          fi
+  purge)
+        if [ -d /var/spool/gosa ] ; then
+          echo "Removing /var/spool/gosa as requested."
+          rm -Rf /var/spool/gosa
         fi
+        if [ -d /var/cache/gosa ] ; then
+          echo "Removing /var/cache/gosa as requested."
+          rm -Rf /var/cache/gosa
+        fi
+
+	[ -e /etc/gosa/gosa.secrets ] && rm /etc/gosa/gosa.secrets
+ 	[ -e /usr/share/gosa/html/themes/default/images/img.png ] && rm /usr/share/gosa/html/themes/default/images/img.png
+ 	[ -e /usr/share/gosa/ihtml/themes/default/img.styles ] && rm /usr/share/gosa/ihtml/themes/default/img.styles
+	find /usr/share/gosa -depth -type d -empty -exec rmdir "{}" \;
+	;;
 
+  remove)
         if [ -d /etc/apache2/conf.d ]; then
           # Remove GOsa include
           [ -L /etc/apache2/conf.d/gosa.conf ] && rm -f /etc/apache2/conf.d/gosa.conf
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644
index 0000000..60135d4
--- /dev/null
+++ b/debian/po/pt_BR.po
@@ -0,0 +1,41 @@
+# Debconf translations for gosa.
+# Copyright (C) 2012 THE gosa'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the gosa package.
+# Adriano Rafael Gomes <adrianorg at gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gosa 2.7.3-1\n"
+"Report-Msgid-Bugs-To: cajus at debian.org\n"
+"POT-Creation-Date: 2008-12-01 10:40+0100\n"
+"PO-Revision-Date: 2012-02-27 22:31-0300\n"
+"Last-Translator: Adriano Rafael Gomes <adrianorg at gmail.com>\n"
+"Language-Team: Brazilian Portuguese <debian-l10n-portuguese at lists.debian."
+"org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../gosa-desktop.templates:1001
+msgid "URL to your GOsa installation:"
+msgstr "URL para sua instalação do GOsa:"
+
+#. Type: string
+#. Description
+#: ../gosa-desktop.templates:1001
+msgid ""
+"The gosa start script can automatically point your browser to a system wide "
+"default location of your GOsa instance."
+msgstr ""
+"O script de inicialização do gosa pode apontar automaticamente o seu "
+"navegador para um local padrão, válido para todo o sistema, da sua instância "
+"GOsa."
+
+#. Type: string
+#. Description
+#: ../gosa-desktop.templates:1001
+msgid "Enter the URL in order to set this default."
+msgstr "Informe a URL para definir esse padrão."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list