db_go || true
fi
db_set mailman/default_server_language "hr" || true
-db_go || true
-db_stop || true
site_languages="`echo $site_languages | tr -d ','`"
mm_etc=/etc/mailman
echo -n "Installing site language ${lang} " >&2
mkdir -p ${mm_etc}/${lang}
for file in $(ls ${mm_dist}/${lang}); do
- echo -n . >&2
+ printf . >&2
langfile=${lang}/${file}
ucf --debconf-ok --three-way ${mm_dist}/${langfile} ${mm_etc}/${langfile} 2>/dev/null
# Upon install ucf leaves a duplicate in .dpkg-dist (Bug #238730), remove it
cmp -s ${mm_etc}/${langfile} ${mm_etc}/${langfile}.dpkg-dist \
&& rm ${mm_etc}/${langfile}.dpkg-dist
done
- echo " done." >&2
+ printf " done." >&2
done
+db_go || true
+db_stop || true
# restart mailman
if [ "$restart" = "yes" -a -x /etc/init.d/mailman ]; then