reinserting DOPO.SH behavior in alternc.install
This commit is contained in:
parent
ae02061a7e
commit
8c91b78634
|
@ -588,13 +588,14 @@ find /usr/share/alternc/panel/locales -maxdepth 1 -mindepth 1 -type d -name "*_*
|
||||||
do
|
do
|
||||||
B="$A/LC_MESSAGES"
|
B="$A/LC_MESSAGES"
|
||||||
cd $B
|
cd $B
|
||||||
rm -f alternc.mo
|
rm -f alternc.mo alternc.po
|
||||||
msgfmt alternc -o alternc.mo
|
msgcat --use-first *.po alternc >alternc.po
|
||||||
|
msgfmt alternc.po -o alternc.mo
|
||||||
done
|
done
|
||||||
|
|
||||||
# Fix some perms
|
# Fix some perms
|
||||||
# Fix phpmyadmin import trac#1557
|
# 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
|
# hook
|
||||||
run-parts --arg=end /usr/lib/alternc/install.d
|
run-parts --arg=end /usr/lib/alternc/install.d
|
||||||
|
|
Loading…
Reference in New Issue