1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radicale_ynh.git synced 2024-09-03 20:16:14 +02:00

Update upgrade

This commit is contained in:
abeudin 2014-05-29 13:14:22 +02:00
parent 8e2fd1cd55
commit f5c3ff7d10

View file

@ -9,6 +9,10 @@ then
mv /usr/local/radicale /opt/yunohost/
fi
# Set permissions to searx directory
sudo useradd radicale -d /opt/yunohost/radicale
sudo chown radicale:radicale -R /opt/yunohost/radicale
# Upgrade pip packages
sudo bash -c "source /opt/yunohost/radicale/bin/activate && pip install radicale python-ldap --upgrade"
@ -24,8 +28,8 @@ sudo cp ../conf/radicale.wsgi $final_path
# Fix permission
sudo chmod 755 /etc/radicale/
sudo find /usr/local/radicale/ -type d -exec chmod 2755 {} \;
sudo find /usr/local/radicale/ -type f -exec chmod g+r,o+r {} \;
sudo find /opt/yunohost/radicale/ -type d -exec chmod 2755 {} \;
sudo find /opt/yunohost/radicale/ -type f -exec chmod g+r,o+r {} \;
sudo chmod 644 /etc/radicale/*
sudo yunohost app setting radicale skipped_uris -v "/"