1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00
This commit is contained in:
ericgaspar 2022-01-03 16:55:14 +01:00
parent c5628f8b9a
commit 39d900eae1
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 8 deletions

View file

@ -66,6 +66,8 @@ tempdir="$(mktemp -d)"
ynh_setup_source --dest_dir=$tempdir --source_id=deb ynh_setup_source --dest_dir=$tempdir --source_id=deb
ynh_exec_warn_less dpkg -i $tempdir/thelounge.deb ynh_exec_warn_less dpkg -i $tempdir/thelounge.deb
ynh_secure_remove --file="$tempdir"
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER
#================================================= #=================================================

View file

@ -49,14 +49,6 @@ ynh_script_progression --message="Removing dependencies..."
dpkg --remove thelounge dpkg --remove thelounge
ynh_remove_nodejs ynh_remove_nodejs
#=================================================
# REMOVE APP MAIN DIR
#=================================================
ynh_script_progression --message="Removing $app main directory..."
# Remove the app directory securely
ynh_secure_remove --file="$final_path"
#================================================= #=================================================
# REMOVE NGINX CONFIGURATION # REMOVE NGINX CONFIGURATION
#================================================= #=================================================