| Server IP : 104.21.4.30 / Your IP : 104.23.243.245 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
# ESP Package Manager v6.0.2 Dr.Web Edition
delete_dir_if_empty() {
if [ ! -d "$1" ]; then
return 0;
fi
rmdir --ignore-fail-on-non-empty $1;
}
if [ "$1" = "purge" ] ; then
rm -f /etc/drweb/monitor/daemon.mmc
delete_dir_if_empty /etc/drweb/monitor
delete_dir_if_empty /etc/drweb/templates/drwebd
delete_dir_if_empty /etc/drweb/templates
fi
if [ purge = "$1" ]; then
update-rc.d drwebd remove >/dev/null
fi