You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many Arch-based distros use a different variant of "ID" in os-release, making this ineffective: OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"')
In the case of Garuda for example, the value of "ID" will be "garuda", but instead there will be an "ID_LIKE" value that equals "arch", but this IMO adds unnecessary logic to the script, and is also not all encompassing, and a check such as that would still fail on Artix, which is completely distanced from Arch in every way, so I propose adding something like this in order to indiscriminately support all Arch-based distros:
ifcommand -v pacman;then
OS_TYPE=arch
fi
The text was updated successfully, but these errors were encountered:
Error Message and Logs
No error is provided (also a bug?)
Steps to Reproduce
Example Repository URL
No response
Coolify Version
irrelevant
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Garuda/Artix/Others?
Additional Information
Many Arch-based distros use a different variant of "ID" in os-release, making this ineffective:
OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"')
In the case of Garuda for example, the value of "ID" will be "garuda", but instead there will be an "ID_LIKE" value that equals "arch", but this IMO adds unnecessary logic to the script, and is also not all encompassing, and a check such as that would still fail on Artix, which is completely distanced from Arch in every way, so I propose adding something like this in order to indiscriminately support all Arch-based distros:
The text was updated successfully, but these errors were encountered: