| Server IP : 172.67.206.42 / Your IP : 104.23.197.32 Web Server : Apache System : Linux server.localhost.com 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 User : pahana ( 1029) PHP Version : 7.4.33 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
# Automatically added by dh_installsystemd/13.11.9ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop 'etckeeper.service' 'etckeeper.timer' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_python3
if command -v py3clean >/dev/null 2>&1; then
py3clean -p etckeeper
else
dpkg -L etckeeper | sed -En -e '/^(.*)\/(.+)\.py$/s,,rm "\1/__pycache__/\2".*,e'
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
fi
# End automatically added section
if [ "$1" = remove ]; then
# In case etckeeper is being purged, stash away a copy of
# the files purging will need.
mkdir -p /var/cache/etckeeper/stash
if [ -e /etc/etckeeper/etckeeper.conf ]; then
cp -a /etc/etckeeper/etckeeper.conf /var/cache/etckeeper/stash
fi
if [ -d /etc/etckeeper/uninit.d ]; then
cp -a /etc/etckeeper/uninit.d /var/cache/etckeeper/stash
fi
if [ -x /usr/bin/etckeeper ]; then
cp -a /usr/bin/etckeeper /var/cache/etckeeper/stash
fi
fi