diff -u nux-4.0.8+18.04.20180613.5/debian/changelog nux-4.0.8+18.04.20180613.5/debian/changelog --- nux-4.0.8+18.04.20180613.5/debian/changelog +++ nux-4.0.8+18.04.20180613.5/debian/changelog @@ -1,3 +1,11 @@ +nux (4.0.8+18.04.20180613.5-0ubuntu2) UNRELEASED; urgency=medium + + * debian/nux-tools.preinst: If we find an Xsession.d file saved away by + mesa, put it back before unpacking. This is so we can restore any user + modifications. + + -- Iain Lane Thu, 14 Jun 2018 09:33:22 +0100 + nux (4.0.8+18.04.20180613.5-0ubuntu1) bionic; urgency=medium * debian/50_check_unity_support: only in patch2: unchanged: --- nux-4.0.8+18.04.20180613.5.orig/debian/nux-tools.preinst +++ nux-4.0.8+18.04.20180613.5/debian/nux-tools.preinst @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +# install from config-files state, previously buggy version +# use the first fixed version here +if [ "$1" = install ] && + dpkg --compare-versions "$2" lt-nl 4.0.8+18.04.20180613.5-0ubuntu2 && + [ -e /etc/X11/Xsession.d/50_check_unity_support.mesa-save ]; then + echo "Found saved /etc/X11/Xsession.d/50_check_unity_support.mesa-save file, moving it back in place..." + mv /etc/X11/Xsession.d/50_check_unity_support.mesa-save /etc/X11/Xsession.d/50_check_unity_support +fi + +#DEBHELPER#