diff options
Diffstat (limited to 'python-updater')
-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 |