diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index fc84fa84..2fbd8faa 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -524,10 +524,22 @@ function install_gnusocial_plugin_sharings { # Languages cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en/LC_MESSAGES msgfmt -o Sharings.mo Sharings.po + if [ ! -f Sharings.po ]; then + echo $'English translations for GNU Social sharings plugin were not created' + exit 84352 + fi cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en_GB/LC_MESSAGES msgfmt -o Sharings.mo Sharings.po + if [ ! -f Sharings.po ]; then + echo $'English (GB) translations for GNU Social sharings plugin were not created' + exit 84352 + fi cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en_US/LC_MESSAGES msgfmt -o Sharings.mo Sharings.po + if [ ! -f Sharings.po ]; then + echo $'English (US) translations for GNU Social sharings plugin were not created' + exit 84352 + fi chown -R www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs