Add Arch Linux fallback for user creation in install.sh (#412)

This commit is contained in:
Briella Bugs
2025-12-17 09:06:43 -03:00
committed by GitHub
parent 84e2e094d3
commit 198e0e4d47

View File

@@ -34,7 +34,7 @@ mkdir -p "$gpath"
if useSystemd && ! id -u tar1090 &>/dev/null
then
adduser --system --home "$ipath" --no-create-home --quiet tar1090 || adduser --system --home-dir "$ipath" --no-create-home tar1090
adduser --system --home "$ipath" --no-create-home --quiet tar1090 || adduser --system --home-dir "$ipath" --no-create-home tar1090 || useradd -r -d "$ipath" -M tar1090
fi
# terminate with /