I'm filing an issue because this is an issue: if yay isn't installed and base-devel isn't already up to date, depending on when this script is run, if base-devel isn't already up to date, there could be problems. There's a reason why the Arch wiki tells you not to run partial upgrades.
Recommended fix
sudo pacman -Syu before starting
Of course, if you have a reason to run -Sy (maybe it upgrades the system somewhere else and I somehow missed the line), feel free to close this issue as wontfix.
Note: I have ignored the template as it is not relevant for this issue.
The issue
/scriptdata/installers, L11:
I'm filing an issue because this is an issue: if yay isn't installed and base-devel isn't already up to date, depending on when this script is run, if base-devel isn't already up to date, there could be problems. There's a reason why the Arch wiki tells you not to run partial upgrades.
Recommended fix
sudo pacman -Syu
before startingOf course, if you have a reason to run
-Sy
(maybe it upgrades the system somewhere else and I somehow missed the line), feel free to close this issue as wontfix.