Make lua scripts executable
This commit is contained in:
parent
46f5c877b5
commit
8f139af1c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue