Skip to content

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

Merged
taigrr merged 2 commits intomasterfrom
cd/license-uninstall-ci
Mar 6, 2026
Merged

fix(bootstrap): safe uninstall, add license, CI, and docs#6
taigrr merged 2 commits intomasterfrom
cd/license-uninstall-ci

Conversation

@taigrr
Copy link
Copy Markdown
Member

@taigrr taigrr commented Mar 6, 2026

Changes

  • Safe uninstall: Both farmer and sprout uninstall paths previously ran rm -rf /etc/grlx, which would destroy the other component's config when both run on the same host. Now each only removes its own config files and uses rmdir to clean up shared directories only if empty.
  • daemon-reload: Added systemctl daemon-reload after removing unit files during uninstall.
  • userdel safety: Suppressed error if the farmer user doesn't exist during uninstall.
  • 0BSD LICENSE: Added to match gogrlx/grlx.
  • GitHub Actions CI: Shellcheck linting on push/PR to master.
  • README improvements: Added non-interactive install docs, uninstall instructions, supported architectures, and CI/license badges.

Testing

  • shellcheck passes clean on both scripts
  • Uninstall logic reviewed for farmer-only, sprout-only, and coexistence scenarios

taigrr added 2 commits March 6, 2026 09:02
- 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
@taigrr taigrr merged commit 911daab into master Mar 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant