We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbe16bf + 191485a commit bc94ee1Copy full SHA for bc94ee1
scriptmodules/packages.sh
@@ -644,6 +644,8 @@ function rp_hasNewerModule() {
644
local repo_dir="$scriptdir"
645
[[ "$vendor" != "RetroPie" ]] && repo_dir+="/ext/$vendor"
646
local module_date="$(sudo -u "$user" git -C "$repo_dir" log -1 --format=%cI -- "${__mod_info[$id/path]}")"
647
+ # just in case the module is not known to git, get the file last modified date
648
+ [[ -z "$module_date" ]] && module_date="$(date -Iseconds -r "${__mod_info[$id/path]}")"
649
if rp_dateIsNewer "$pkg_date" "$module_date"; then
650
ret=0
651
fi
0 commit comments