From 8f139af1c04ed68210d061910490070852fde9f5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 2 Jan 2018 12:39:06 +0000 Subject: [PATCH] Make lua scripts executable --- src/freedombone-app-xmpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 7c70135b..74eb9d67 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -347,6 +347,9 @@ function update_prosody_modules { cp ~/freedombone/image_build/mod_omemo_all_access.lua /var/lib/prosody/prosody-modules/mod_omemo_all_access.lua cp ~/freedombone/image_build/mod_omemo_all_access.lua /usr/lib/prosody/modules/mod_omemo_all_access.lua + chmod +x /var/lib/prosody/prosody-modules/mod_omemo_all_access.lua + chmod +x /usr/lib/prosody/modules/mod_omemo_all_access.lua + if ! grep -q "omemo_all_access" /etc/prosody/prosody.cfg.lua; then sed -i '/"pep";/a "omemo_all_access"; -- Fix for PEP with OMEMO' /etc/prosody/prosody.cfg.lua sed -i 's|"omemo_all_access";| "omemo_all_access";|g' /etc/prosody/prosody.cfg.lua