From 23aafb8f72b963f1ac44482ce5bfc8272e144baf Mon Sep 17 00:00:00 2001 From: Vivek Sekar Date: Wed, 14 Nov 2007 16:24:13 +0000 Subject: [PATCH] Small change to the hack for keeping the modest.mo file. pmo-trunk-r3731 --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4a2834e..2aa12e7 100755 --- a/debian/rules +++ b/debian/rules @@ -97,7 +97,7 @@ endif # we remove the modest.mo english localization, if the current control file contains a reference # to modest-l10n-mr0; thus, the modest package will not conflict with that one. # if modest-l10n-mr0 is not there, we'll install our own (en_GB) .mo file. - grep modest-l10n-mr0 $(CURDIR)/debian/control && rm $(CURDIR)/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES/modest.mo + if grep -q modest-l10n-mr0 $(CURDIR)/debian/control ; then rm $(CURDIR)/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES/modest.mo ; else echo "modest.mo not removed."; fi # Build architecture-independent files here. -- 1.7.9.5