文件操作 - dbus.prerm
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/dbus.prerm
编辑文件内容
#!/bin/sh set -e if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ] && [ "$1" = remove ]; then # Before stopping dbus-daemon, ensure that it won't just be # reactivated by dbus.socket. The "invoke-rc.d dbus stop" # added by debhelper, below, will harmlessly not do anything. deb-systemd-invoke stop dbus.socket dbus.service || exit $? fi # Automatically added by dh_installsystemd/13.11.4 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'dbus.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.11.4 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/dbus" ] ; then invoke-rc.d --skip-systemd-native dbus stop || exit 1 fi # End automatically added section exit 0 # vim:set sw=4 sts=4 et:
修改文件时间
将文件时间修改为当前时间的前一年
删除文件