diff options
author | 2012-02-13 03:28:42 +0000 | |
---|---|---|
committer | 2012-02-13 03:28:42 +0000 | |
commit | 23152b037b5143c5007a84a727c27c7786ee117a (patch) | |
tree | b487d55c3ae001d639b228abfe2eeb8a606b470c | |
parent | Expand aliases. (diff) | |
download | python-updater-23152b037b5143c5007a84a727c27c7786ee117a.tar.gz python-updater-23152b037b5143c5007a84a727c27c7786ee117a.tar.bz2 python-updater-23152b037b5143c5007a84a727c27c7786ee117a.zip |
Improve handling of mtime.
-rwxr-xr-x | python-updater | 6 |
1 files 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 |