YunoHost-Apps / phpsysinfo_ynh

PHPSysInfo package for YunoHost
GNU General Public License v3.0
2 stars 2 forks source link

Do not block app removal and remove unused parts #1

Closed jeromelebleu closed 8 years ago

jeromelebleu commented 8 years ago

The remove script should not exit if one if the command failed in order to be sure that everything is removed.

For example, imagine that the installation fails at the middle of the script and that everything has not be created/copied - e.g. NGINX configuration, database. The remove script will be nevertheless executed after that in order to clear each thing that the install script have created / copied / ... So, it must expect that some thing doesn't exist and just continue instead of exiting.