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:
parent
ae12a62df8
commit
9d1ab11dd4
1 changed files with 3 additions and 3 deletions
|
@ -5,8 +5,8 @@ sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev lib
|
||||||
|
|
||||||
if [ -d /usr/local/radicale ];
|
if [ -d /usr/local/radicale ];
|
||||||
then
|
then
|
||||||
mdkir -p /opt/yunohost
|
sudo mdkir -p /opt/yunohost
|
||||||
mv /usr/local/radicale /opt/yunohost/
|
sudo mv /usr/local/radicale /opt/yunohost/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set permissions to searx directory
|
# Set permissions to searx directory
|
||||||
|
@ -31,7 +31,7 @@ sudo chmod 755 /etc/radicale/
|
||||||
sudo find /opt/yunohost/radicale/ -type d -exec chmod 2755 {} \;
|
sudo find /opt/yunohost/radicale/ -type d -exec chmod 2755 {} \;
|
||||||
sudo find /opt/yunohost/radicale/ -type f -exec chmod g+r,o+r {} \;
|
sudo find /opt/yunohost/radicale/ -type f -exec chmod g+r,o+r {} \;
|
||||||
sudo chmod 644 /etc/radicale/*
|
sudo chmod 644 /etc/radicale/*
|
||||||
chown -R radicale $final_path
|
sudo chown -R radicale $final_path
|
||||||
sudo touch /var/log/radicale
|
sudo touch /var/log/radicale
|
||||||
sudo chgrp radicale /var/log/radicale
|
sudo chgrp radicale /var/log/radicale
|
||||||
sudo chmod g+w /var/log/radicale
|
sudo chmod g+w /var/log/radicale
|
||||||
|
|
Loading…
Reference in a new issue