From 047d2e58bc00e7e800577e4ee1e89a756ad1788c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 8 Aug 2012 15:38:40 +0000 Subject: [PATCH] [package] xmail: cope with empty flags options (#9452) SVN-Revision: 33058 --- mail/xmail/Makefile | 4 ++-- mail/xmail/files/xmail.init | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/xmail/Makefile b/mail/xmail/Makefile index 7ff16fbf45..e756c058b6 100644 --- a/mail/xmail/Makefile +++ b/mail/xmail/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 OpenWrt.org +# Copyright (C) 2007-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xmail PKG_VERSION:=1.26 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.xmailserver.org/ diff --git a/mail/xmail/files/xmail.init b/mail/xmail/files/xmail.init index 2f5abd5ab5..2b4990b466 100644 --- a/mail/xmail/files/xmail.init +++ b/mail/xmail/files/xmail.init @@ -13,7 +13,7 @@ append_bool() { local option="$2" local value="$3" local _loctmp - config_get_bool _loctmp "$section" "$option" + config_get_bool _loctmp "$section" "$option" 0 [ "$_loctmp" -le 0 ] && return 0 append args "$value" } -- 2.30.2