+abook (0.6.0~pre2-2) unstable; urgency=low
+
+ * Finally uploading to unstable. Making sure the changes are carried over,
+ especially:
+ - from 0.5.6-2:
+ - Swedish debconf translation, already mentioned in changelog but without
+ closes: #387518
+ - Fixed quoting in mutt config snippet noticed by Georg Neis, thanks
+ (closes: #394532)
+
+ --
+
abook (0.6.0~pre2-1) experimental; urgency=low
* New upstream release
mv /etc/Muttrc.d/abook.rc.removed /etc/Muttrc.d/abook.rc || true
fi
+# fix for #394532 breakage
+if grep "abook --mutt-query '%s'" /etc/Muttrc.d/abook.rc >/dev/null 2>/dev/null ; then
+ sed -i "s/abook --mutt-query '%s'/abook --mutt-query %s/" /etc/Muttrc.d/abook.rc
+fi
+
# only on new install, upgrade from < 0.5.6 or reconfigure
if dpkg --compare-versions "$version" lt "0.5.6" || [ "$action" = "reconfigure" ]; then
mutt=true
if [ ! -e /etc/Muttrc.d/abook.rc ] ; then
mkdir /etc/Muttrc.d 2> /dev/null || true
cat > /etc/Muttrc.d/abook.rc << EOF
-set query_command="abook --mutt-query '%s'"
+set query_command="abook --mutt-query %s"
macro pager A |'abook --add-email'\n
EOF
fi