1
0
Fork 0
gnome-session/debian/gnome-session-common.postinst
Daniel Baumann ae2fe05c33
Adding debian version 48.0-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 19:58:10 +02:00

16 lines
482 B
Bash

#!/bin/sh
set -e
# Abuse dpkg-maintscript-helper to move/remove /etc/gnome/defaults.list
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le-nl "3.20.1-2~"; then
if [ -f "/etc/gnome/defaults.list.dpkg-backup" ]; then
echo "Obsolete conffile /etc/gnome/defaults.list has been modified by you."
echo "Moving the file to /etc/xdg/gnome-mimeapps.list ..."
mv -f "/etc/gnome/defaults.list.dpkg-backup" "/etc/xdg/gnome-mimeapps.list"
fi
fi
#DEBHELPER#
exit 0