From 23152b037b5143c5007a84a727c27c7786ee117a Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 13 Feb 2012 03:28:42 +0000 Subject: Improve handling of mtime. --- python-updater | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-updater b/python-updater index a646ca6..d34d916 100755 --- a/python-updater +++ b/python-updater @@ -743,8 +743,10 @@ for contents_file in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do fi done if [[ -n "${deleted_USE_flags}" || -n "${added_USE_flags}" ]]; then - # Update mtime of directory. - touch "${contents_file%/CONTENTS}" + # Update mtime of directories. + touch "${PKG_DBDIR}/${CATEGORY}/${PF}" + touch "${PKG_DBDIR}/${CATEGORY}" + touch "${PKG_DBDIR}" fi eindent if [[ -n "${deleted_USE_flags}" ]]; then -- cgit v1.2.3-65-gdbad