diff -Nru update-notifier-3.156/aclocal.m4 update-notifier-3.157/aclocal.m4 --- update-notifier-3.156/aclocal.m4 2014-06-13 10:33:42.000000000 +0000 +++ update-notifier-3.157/aclocal.m4 2014-10-04 00:00:31.000000000 +0000 @@ -812,7 +812,7 @@ # nls.m4 serial 5 (gettext-0.18) -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation, +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -1612,7 +1612,8 @@ END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi -fi]) +fi +]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further diff -Nru update-notifier-3.156/configure update-notifier-3.157/configure --- update-notifier-3.156/configure 2014-06-13 10:33:43.000000000 +0000 +++ update-notifier-3.157/configure 2014-10-04 00:00:31.000000000 +0000 @@ -2841,6 +2841,7 @@ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi + ac_config_headers="$ac_config_headers config.h" diff -Nru update-notifier-3.156/debian/changelog update-notifier-3.157/debian/changelog --- update-notifier-3.156/debian/changelog 2014-06-13 10:33:24.000000000 +0000 +++ update-notifier-3.157/debian/changelog 2014-10-04 00:00:15.000000000 +0000 @@ -1,3 +1,10 @@ +update-notifier (3.157) utopic; urgency=medium + + * debian/update-notifier-crash.conf: avoid race condition where the crash + report may not yet be writable when the inotify create event happens. + + -- Brian Murray Fri, 03 Oct 2014 17:00:11 -0700 + update-notifier (3.156) utopic; urgency=low * lp:~mvo/update-notifier/use-apt-helper: diff -Nru update-notifier-3.156/debian/update-notifier-crash.conf update-notifier-3.157/debian/update-notifier-crash.conf --- update-notifier-3.156/debian/update-notifier-crash.conf 2014-04-09 15:37:21.000000000 +0000 +++ update-notifier-3.157/debian/update-notifier-crash.conf 2014-10-03 23:48:25.000000000 +0000 @@ -2,7 +2,8 @@ author "Brian Murray " start on ( - file FILE=/var/crash/*.crash EVENT=create + file FILE=/var/crash/*.crash EVENT=create or + file FILE=/var/crash/*.crash EVENT=modify ) env MATCH=NULL @@ -15,7 +16,7 @@ echo "$DATE autoreporting enabled exiting" exit 0 fi -if [ -w $MATCH ]; then +if [ -O $MATCH ]; then /usr/share/apport/apport-gtk else SYSTEMCRASH=0 diff -Nru update-notifier-3.156/po/update-notifier.pot update-notifier-3.157/po/update-notifier.pot --- update-notifier-3.156/po/update-notifier.pot 2014-06-13 10:33:45.000000000 +0000 +++ update-notifier-3.157/po/update-notifier.pot 2014-10-04 00:00:33.000000000 +0000 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-13 12:33+0200\n" +"POT-Creation-Date: 2014-10-03 17:00-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"