1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Fix package_linter

This commit is contained in:
Kayou 2019-02-09 22:01:38 +01:00
parent 81507208a7
commit cad713f841
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126
2 changed files with 13 additions and 2 deletions

View file

@ -74,7 +74,7 @@ ynh_app_setting_set $app path $path_url
ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql
# Install Carton
echo yes | sudo cpan Carton
echo yes | cpan Carton
#=================================================
# CREATE A POSTGRESQL DATABASE
@ -176,7 +176,7 @@ fi
# Configure owner
#=================================================
sudo chown -R www-data $final_path
chown -R www-data $final_path
#=================================================
# Start lstu

View file

@ -22,6 +22,17 @@ db_user=$db_name
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE SERVICE FROM ADMIN PANEL
#=================================================
# Remove a service from the admin panel, added by `yunohost service add`
if yunohost service status | grep -q $app
then
echo "Remove $app service"
yunohost service remove $app
fi
#=================================================
# STOP AND REMOVE SERVICE
#=================================================