<?php /* function __pureftpd_preremove(){ } function __pureftpd_remove(){ } */ function __pureftpd_postremove(){ global $webuzo, $distro, $globals; $distro = $globals['WU_DISTRO']; // Remove library_path file from /etc/ld.so.conf.d/ if($distro == 'ubuntu'){ if(file_exists('/etc/ld.so.conf.d/pureftpd_path.conf')){ unlink('/etc/ld.so.conf.d/pureftpd_path.conf'); } vexec('ldconfig'); } }