X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=debian%2Frules;h=2aa12e7734bc7b4e97f86efb17fc10ccc1de3093;hp=f6da55353c8a648b5011b080d4bfc0fdf111db3f;hb=06941d1065d0885758d057108e8f6b317a02d952;hpb=9b63b7e008e34d0a44e72e51047b3c5ccf921da6 diff --git a/debian/rules b/debian/rules index f6da553..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)/control && rm $(CURDIR)/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.