summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index 1dfaa04a3..efc61362c 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -457,7 +457,10 @@ if check_stamp $UPDATE_STAMP $UpdateInterval; then
# now run apt-xapian-index if it is installed to ensure the index
# is up-to-date
if [ -x /usr/sbin/update-apt-xapian-index ]; then
- nice ionice -c3 update-apt-xapian-index -q
+ if [ "$(dpkg --print-architecture)" = "armel" ]; then
+ xapian_extra_args='-u'
+ fi
+ nice ionice -c3 update-apt-xapian-index -q $xapian_extra_args
fi
else
debug_echo "download updated metadata (error)"