fix(bootstrap): safe uninstall, add license, CI, and docs

- Fix uninstall to only remove own files (farmer/sprout can coexist)
- Add systemctl daemon-reload after removing unit files
- Suppress userdel error if user doesn't exist
- Add 0BSD LICENSE (matches gogrlx/grlx)
- Add GitHub Actions CI workflow (shellcheck)
- Expand README: non-interactive install, uninstall docs, arch list, badges
This commit is contained in:
2026-03-06 09:02:16 +00:00
parent e53869dc3d
commit dc0a27291e
5 changed files with 106 additions and 6 deletions

17
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: sudo apt-get install -y shellcheck
- name: Lint latest scripts
run: shellcheck latest/farmer latest/sprout