mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
Merge e1e45e69c2
into b5c0c68233
This commit is contained in:
commit
f4e794cfaf
2 changed files with 5 additions and 5 deletions
|
@ -149,7 +149,7 @@ python3 -m venv /opt/yunohost/$app
|
||||||
set +u;
|
set +u;
|
||||||
source /opt/yunohost/$app/bin/activate
|
source /opt/yunohost/$app/bin/activate
|
||||||
set -u;
|
set -u;
|
||||||
pip install radicale==$version python3-ldap
|
pip install --no-cache-dir radicale==$version python3-ldap
|
||||||
set +u;
|
set +u;
|
||||||
deactivate
|
deactivate
|
||||||
set -u;
|
set -u;
|
||||||
|
|
|
@ -171,7 +171,7 @@ chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
chmod 666 -R $final_path/default_collections
|
chmod 666 -R $final_path/default_collections
|
||||||
chmod 777 $final_path/default_collections $final_path/default_collections/USER
|
chmod 755 $final_path/default_collections $final_path/default_collections/USER
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -232,17 +232,17 @@ then
|
||||||
set +u;
|
set +u;
|
||||||
source /opt/yunohost/$app/bin/activate
|
source /opt/yunohost/$app/bin/activate
|
||||||
set -u;
|
set -u;
|
||||||
pip install radicale==$version python3-ldap
|
pip install --no-cache-dir radicale==$version python3-ldap
|
||||||
set +u;
|
set +u;
|
||||||
deactivate
|
deactivate
|
||||||
set -u;
|
set -u;
|
||||||
|
|
||||||
# regex.py file is patched to fix the awful commit e807c3d35bea9cfcfcacac83b1b17d748ea15a39 that stop the reading of "rights" file after the first match.
|
# regex.py file is patched to fix the awful commit e807c3d35bea9cfcfcacac83b1b17d748ea15a39 that stop the reading of "rights" file after the first match.
|
||||||
mv "$final_path/regex.py" /opt/yunohost/$app/lib/python*/site-packages/radicale/rights/regex.py
|
# mv "$final_path/regex.py" /opt/yunohost/$app/lib/python*/site-packages/radicale/rights/regex.py
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown radicale: -R /opt/yunohost/$app
|
chown radicale: -R /opt/yunohost/$app
|
||||||
find /opt/yunohost/$app/ -type d -exec chmod 2755 {} \;
|
find /opt/yunohost/$app/ -type d -exec chmod 755 {} \;
|
||||||
find /opt/yunohost/$app/ -type f -exec chmod g+r,o+r {} \;
|
find /opt/yunohost/$app/ -type f -exec chmod g+r,o+r {} \;
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue