mirror of
https://github.com/YunoHost-Apps/invoiceninja_ynh.git
synced 2024-09-03 19:26:22 +02:00
Update remove
This commit is contained in:
parent
a54eb33431
commit
486b41983a
1 changed files with 2 additions and 16 deletions
|
@ -56,22 +56,6 @@ ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
|
||||||
# Remove the dedicated PHP-FPM config
|
# Remove the dedicated PHP-FPM config
|
||||||
ynh_remove_fpm_config
|
ynh_remove_fpm_config
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# UNINSTALL PHANTOMJS
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Uninstalling PhantomJS..." --weight=1
|
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies $build_pkg_dependencies
|
|
||||||
tmpdir="$(mktemp -d)"
|
|
||||||
ynh_setup_source --dest_dir="$tmpdir" --source_id="phantomjs"
|
|
||||||
pushd "$tmpdir"
|
|
||||||
ynh_exec_warn_less ./configure && make
|
|
||||||
ynh_exec_warn_less make uninstall
|
|
||||||
popd
|
|
||||||
ynh_secure_remove --file="$tmpdir"
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
|
||||||
ynh_package_autoremove
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE DEPENDENCIES
|
# REMOVE DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -90,6 +74,8 @@ ynh_script_progression --message="Removing various files..." --weight=1
|
||||||
# Remove a cron file
|
# Remove a cron file
|
||||||
ynh_secure_remove --file="/etc/cron.d/$app"
|
ynh_secure_remove --file="/etc/cron.d/$app"
|
||||||
|
|
||||||
|
ynh_secure_remove --file="/usr/local/bin/phantomjs"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue