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.
1 parent a39f05d commit 626fddeCopy full SHA for 626fdde
scriptmodules/admin/builder.sh
@@ -42,8 +42,11 @@ function module_builder() {
42
continue
43
fi
44
45
- # if there is no newer version, skip to the next module
46
- if ! rp_hasNewerModule "$id" "source"; then
+ # if there is no newer version, skip to the next module. Returns 1 when update is not required,
+ # but can also return 2, to mean "unknown" in which case we should do an update. Modules like sdl2
47
+ # will return 2 as they are handled differently, and don't use the package update mechanisms.
48
+ rp_hasNewerModule "$id" "source"
49
+ if [[ "$?" -eq 1 ]]; then
50
printMsgs "console" "No update was found."
51
52
0 commit comments