mirror of
https://github.com/YunoHost-Apps/flohmarkt_ynh.git
synced 2024-09-03 18:36:30 +02:00
fixed 2 syntax errors
This commit is contained in:
parent
935a8e7844
commit
664e7475f1
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ source /usr/share/yunohost/helpers
|
|||
# had been installed by flohmarkt and we thus can savely do whatever we want to it
|
||||
# with the resulting damage hopefully only influencing flohmarkt instances
|
||||
if [[ -e /opt/couchdb ]] || pgrep epmd > /dev/null || pgrep beam.smp || dpkg-query -W couchdb > /dev/null 2>&1 \
|
||||
&& ![[ -e /opt/couchdb/etc/local.d/05-flohmarkt.ini ]];
|
||||
&& ! [[ -e /opt/couchdb/etc/local.d/05-flohmarkt.ini ]];
|
||||
then
|
||||
ynh_die --message="CouchDB already installed on this host - will not proceed."
|
||||
exit 1
|
||||
|
|
|
@ -8,7 +8,7 @@ ynh_script_progression --message="Reinstalling couchdb..." --weight=40
|
|||
flohmarkt_ynh_up_inst_couchdb
|
||||
|
||||
# add couchdb configuration
|
||||
if ![[ -e /opt/couchdb/etc/local.d/05-flohmarkt.ini ]]; then
|
||||
if ! [[ -e /opt/couchdb/etc/local.d/05-flohmarkt.ini ]]; then
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=2
|
||||
|
||||
flohmarkt_ynh_stop_couchdb
|
||||
|
|
Loading…
Add table
Reference in a new issue