Build Script angepasst um arch derivate zu Unterstützen.

This commit is contained in:
Thomas Schleußner 2026-06-24 22:31:20 +02:00
parent 71266314eb
commit 8eb749f6f2
2 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ fi
# detect distribution
if [ -f /etc/os-release ]; then
. /etc/os-release
DISTRO=$ID
DISTRO=${ID-LIKE:-$ID}
else
echo -e "${RED}Error: Cannot detect distribution${NC}"
exit 1

View file

@ -12,7 +12,7 @@ echo -e "${GREEN}=== Picofly build script (multi-distro) ===${NC}\n"
# detect distribution
if [ -f /etc/os-release ]; then
. /etc/os-release
DISTRO=$ID
DISTRO=${ID_LIKE:-$ID}
else
echo -e "${RED}Error: Cannot detect distribution${NC}"
exit 1