mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
Merge pull request #8 from opi/master
[fix] Get app settings, and fix comment.
This commit is contained in:
commit
ab1a4e6646
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Get app settings
|
||||||
|
domain=$(sudo yunohost app setting radicale domain)
|
||||||
|
path=$(sudo yunohost app setting radicale path)
|
||||||
|
|
||||||
# Check depends installation
|
# Check depends installation
|
||||||
sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev libsasl2-dev libssl-dev uwsgi uwsgi-plugin-python
|
sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev libsasl2-dev libssl-dev uwsgi uwsgi-plugin-python
|
||||||
|
|
||||||
|
@ -9,7 +13,7 @@ then
|
||||||
sudo mv /usr/local/radicale /opt/yunohost/
|
sudo mv /usr/local/radicale /opt/yunohost/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set permissions to searx directory
|
# Set permissions to radicale directory
|
||||||
sudo grep radicaled /etc/passwd > /dev/null 2>&1
|
sudo grep radicaled /etc/passwd > /dev/null 2>&1
|
||||||
if [ $? != 0 ];
|
if [ $? != 0 ];
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue