Add Arch Linux fallback for user creation in install.sh (#412)
This commit is contained in:
@@ -34,7 +34,7 @@ mkdir -p "$gpath"
|
|||||||
|
|
||||||
if useSystemd && ! id -u tar1090 &>/dev/null
|
if useSystemd && ! id -u tar1090 &>/dev/null
|
||||||
then
|
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
|
fi
|
||||||
|
|
||||||
# terminate with /
|
# terminate with /
|
||||||
|
|||||||
Reference in New Issue
Block a user