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:
parent
81507208a7
commit
cad713f841
2 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue