]> git.donarmstrong.com Git - roundcube.git/commitdiff
Imported Debian patch 0.1.1-2
authorVincent Bernat <bernat@luffy.cx>
Sat, 19 Apr 2008 14:50:28 +0000 (16:50 +0200)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 17:25:23 +0000 (19:25 +0200)
debian/changelog
debian/conf/apache.conf
debian/control
debian/control.in
debian/roundcube-core.config

index cde4a3c1ad18c4e9d06a8572dd1a95f52fca044b..34e5dac0ecfb65cc9761df14d9ced0f60bb86525 100644 (file)
@@ -1,3 +1,11 @@
+roundcube (0.1.1-2) unstable; urgency=low
+
+  * Comment by default Alias directive for tinymce in Apache configuration
+    file (Closes: #476162).
+  * Allow to preseed language value (Closes: #476803).
+
+ -- Vincent Bernat <bernat@luffy.cx>  Sat, 19 Apr 2008 16:50:28 +0200
+
 roundcube (0.1.1-1) unstable; urgency=low
 
   * New upstream release
index a5e05623d3c99bcc1c3f928efdf8a086c3d03236..79e3d41b7df6e336d2960ac9d202a5aa29c90f2e 100644 (file)
@@ -1,7 +1,9 @@
-# Uncomment this to use tinymce (you need tinymce package)
-# See README.Debian for more details
+# Those aliases do not work properly with several hosts on your apache server
+# Uncomment them to use it or adapt them to your configuration
+#    Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
+#    Alias /roundcube /var/lib/roundcube
 
-Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
+# Access to tinymce files
 <Directory "/usr/share/tinymce/www/">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride None
@@ -9,10 +11,6 @@ Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
       allow from all
 </Directory>
 
-# This alias does not work properly with several hosts on your apache server
-# Uncomment it to use it
-#    Alias /roundcube /var/lib/roundcube
-
 <Directory /var/lib/roundcube/>
         Options +FollowSymLinks
         AllowOverride All
index cb1c41f0399bce04616436372a3ccb3b6fd0114f..f2843b82b751cfb8d296b90c948b71853b723b11 100644 (file)
@@ -6,7 +6,6 @@ Uploaders: Vincent Bernat <bernat@luffy.cx>, Romain Beauxis <toots@rastageeks.or
 Build-Depends: debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), po-debconf
 Homepage: http://www.roundcube.net/
 Standards-Version: 3.7.3
-DM-Upload-Allowed: yes
 Vcs-Svn: svn://svn.debian.org/svn/pkg-roundcube/roundcube
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-roundcube/roundcube
 
index df7455f8f0beeac78445ebbec819a1de6638f615..a6dae44ad1911eb1785f5904eb9975a9ec95f52c 100644 (file)
@@ -6,7 +6,6 @@ Uploaders: Vincent Bernat <bernat@luffy.cx>, Romain Beauxis <toots@rastageeks.or
 Build-Depends: @cdbs@, po-debconf
 Homepage: http://www.roundcube.net/
 Standards-Version: 3.7.3
-DM-Upload-Allowed: yes
 Vcs-Svn: svn://svn.debian.org/pkg-roundcube/roundcube
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-roundcube/roundcube
 
index c5ef209aa49f1eaa9d1864cebca781df8ee1820b..c85dc7024da11db032e7dbff1dbe18af958fe1bb 100644 (file)
@@ -15,17 +15,24 @@ db_metaget roundcube/language languages && oldchoices="$RET"
 if [ ! "$oldchoices" ] || [ "$instd_langs" != "$oldchoices" ]; then
        db_subst roundcube/language languages $instd_langs
        db_fset roundcube/language seen false
-       # Try to guess the locale
-       locale=$(echo $LANG | sed 's/[@\.].*//')
-       if [ -d /usr/share/roundcube/program/localization/$locale ]; then
+       # Firs try to get the current choice in case of preseeding
+       db_get roundcube/language || true
+       locale="$RET"
+       if [ -n $locale -a -d /usr/share/roundcube/program/localization/$locale ]; then
           db_set roundcube/language $locale
        else
-          locale=$(echo $locale | sed 's/_.*//')
-          if [ -d /usr/share/roundcube/program/localization/$locale ]; then
-              db_set roundcube/language $locale
-          else
-              db_set roundcube/language en_US
-          fi
+              # Try to guess the locale
+              locale=$(echo $LANG | sed 's/[@\.].*//')
+              if [ -d /usr/share/roundcube/program/localization/$locale ]; then
+                             db_set roundcube/language $locale
+             else
+                     locale=$(echo $locale | sed 's/_.*//')
+                     if [ -d /usr/share/roundcube/program/localization/$locale ]; then
+                             db_set roundcube/language $locale
+                     else
+                             db_set roundcube/language en_US
+                     fi
+             fi
        fi
 fi
 # Ask the question