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

Merge pull request #28 from YunoHost-Apps/fix-package-linter

fix package_linter
This commit is contained in:
Kayou 2019-02-15 00:38:30 +01:00 committed by GitHub
commit 7410eb674f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
#=================================================