ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/update-notifier.preinst

13 lines
318 B
Bash
Executable File

#!/bin/sh
set -e
# check if we have a unmodified conf-file rm upgrade-notifer
if [ -f /etc/apt/apt.conf.d/99upgrade-notifier ]; then
if echo "9aff569ff6afcff455d5ba59c0587bab /etc/apt/apt.conf.d/99upgrade-notifier" | md5sum -c 2>/dev/null; then
rm -f /etc/apt/apt.conf.d/99upgrade-notifier
fi
fi