+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
-# 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
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
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
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
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