jenkins-bot has submitted this change and it was merged. Change subject: Remove l10n file as user l10nupdate ......................................................................
Remove l10n file as user l10nupdate Otherwise: rm: cannot remove `/a/common/php-1.23wmf17/cache/l10n/l10n_cache-en.cdb': Permission denied Bug: 51174 Change-Id: Ifd81f9141eb68ccc88aca737dc86be8de4e3781c --- M bin/mw-update-l10n 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Ori.livneh: Looks good to me, approved jenkins-bot: Verified diff --git a/bin/mw-update-l10n b/bin/mw-update-l10n index c033875..b51f318 100755 --- a/bin/mw-update-l10n +++ b/bin/mw-update-l10n @@ -112,7 +112,7 @@ # Bug: 51174 # Delete stub en localization before full l10n update. echo "Cleaning up stub l10n_cache-en.cdb" - rm "${mwL10nCacheDir}/l10n_cache-en.cdb" + sudo -u l10nupdate rm "${mwL10nCacheDir}/l10n_cache-en.cdb" fi # Rebuild all the CDB files for each language echo -n "Updating LocalisationCache for $mwVerNum... " -- To view, visit https://gerrit.wikimedia.org/r/117236 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifd81f9141eb68ccc88aca737dc86be8de4e3781c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/tools/scap Gerrit-Branch: master Gerrit-Owner: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: Greg Grossmeier <g...@wikimedia.org> Gerrit-Reviewer: Ori.livneh <o...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits