|
Server : LiteSpeed System : Linux srv526460274 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : kerao9884 ( 1082) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
delete_unchanged() {
if [ -e "$1" ] && echo "$2 $1" | md5sum --check --status; then
echo "Removing unchanged configuration file $1"
rm -f "$1"
fi
}
backup_conffile() {
if [ -e "$1" ]; then
echo "Moving configuration file $1 to $1.dpkg-bak"
mv -f "$1" "$1".dpkg-bak
fi
}
case "$1" in
install|upgrade)
# clean up files we no longer ship
delete_unchanged "/etc/resolvconf/update.d/pdns" aeacd4ba822e5ad334c1794e8239d9c1
backup_conffile "/etc/resolvconf/update.d/pdns"
delete_unchanged "/etc/insserv.d/pdns-server" af60f140f00b9520efbcd3a18052905d
backup_conffile "/etc/insserv.d/pdns-server"
delete_unchanged "/etc/default/pdns" ddd96d47c8c1d5898f45e81fae15e7ac
delete_unchanged "/etc/default/pdns" 99d5d626abd59cc568dadec22403f638
backup_conffile "/etc/default/pdns"
delete_unchanged "/etc/init.d/pdns" 06f3b374bccaf3b71638e759f8053bda
delete_unchanged "/etc/init.d/pdns" 470533b8de800da2f356c04a58f4aa6b
backup_conffile "/etc/init.d/pdns"
;;
esac