%PDF- %PDF-
| Direktori : /var/lib/dpkg/info/ |
| Current File : //var/lib/dpkg/info/ubuntu-settings.postinst |
#!/bin/sh
set -e
case "$1" in
configure)
# Remove the obsolete (unpackaged) netplan config file (if unmodified),
# or moved it to .dpkg-backup (if modified). This isn't done with
# dpkg-maintscripts because those require the prior version was owned
# by the package (and this file is owned by nothing).
NM_CONF="/etc/netplan/01-network-manager-all.yaml"
if [ -e "$NM_CONF" ]; then
if [ "$(md5sum "$NM_CONF" | cut -d" " -f1)" = "81c200b0e29eeb56c518a23eb78777ab" ]; then
rm -f "$NM_CONF"
else
echo "Moving modified $NM_CONF to .dpkg-backup" >&2
mv -f "$NM_CONF" "${NM_CONF}.dpkg-backup"
fi
fi
;;
esac
# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/lightdm/lightdm.conf.d/10-ubuntu.conf 14.04.0 -- "$@"
# End automatically added section