From 8c91b78634e7dc2e121dddaae770642f07887c56 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 27 Mar 2014 17:47:45 +0100 Subject: [PATCH] reinserting DOPO.SH behavior in alternc.install --- install/alternc.install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install/alternc.install b/install/alternc.install index 4181752e..4289fc90 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -588,13 +588,14 @@ find /usr/share/alternc/panel/locales -maxdepth 1 -mindepth 1 -type d -name "*_* do B="$A/LC_MESSAGES" cd $B - rm -f alternc.mo - msgfmt alternc -o alternc.mo + rm -f alternc.mo alternc.po + msgcat --use-first *.po alternc >alternc.po + msgfmt alternc.po -o alternc.mo done # Fix some perms # Fix phpmyadmin import trac#1557 -test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data alterncpanel 0775 "/var/lib/phpmyadmin/tmp" +test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data alterncpanel 0775 "/var/lib/phpmyadmin/tmp" 2>/dev/null || true # hook run-parts --arg=end /usr/lib/alternc/install.d