Files
scoutfs-manager/scripts/preinstall.sh
William Gill 7a15a2101f
Some checks failed
Release / Build & Vet (push) Successful in 1m18s
Release / Test (push) Successful in 1m15s
Release / Lint (push) Failing after 1m50s
Release / GoReleaser Check (push) Successful in 1m6s
Release / Build & Release (push) Failing after 2m20s
ci: Add Gitea Actions for release automation and package builds
2026-04-04 00:04:21 -05:00

8 lines
216 B
Bash

#!/bin/sh
set -e
# Create scoutfs-manager system user if it doesn't exist
if ! getent passwd scoutfs-manager > /dev/null 2>&1; then
useradd --system --no-create-home --shell /usr/sbin/nologin scoutfs-manager
fi