rodinux hace 1 año
padre
commit
c7662a43bd
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      scripts/remove

+ 3 - 1
scripts/remove

@@ -12,6 +12,9 @@ source /usr/share/yunohost/helpers
 #=================================================
 ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
 
+# need remove pinning
+ynh_secure_remove --file="/etc/apt/preferences.d/zabbix_repo"
+
 ynh_exec_warn_less yunohost user delete $zabbix_username --purge
 
 # Remove the dedicated systemd config
@@ -41,7 +44,6 @@ ynh_secure_remove --file="/etc/sudoers.d/$app"
 
 ynh_secure_remove --file="/usr/share/zabbix-cli"
 
-ynh_secure_remove --file="/etc/apt/preferences.d/zabbix_repo"
 
 #=================================================
 # END OF SCRIPT