It's a script. It manages Linux FAH betas
- Shell 100%
| utils | ||
| fah-beta-mgr | ||
| fah-beta-mgr.sha512 | ||
| fbm-mgr | ||
| LICENSE | ||
| README.md | ||
| RELEASE_NOTES.md | ||
fah-beta-mgr
fah-beta-mgr is a bash script which manages
FAH beta binaries, so you don't have
to. It assumes that it's running in a systemd-flavored Linux
distro. Here's what it does:
- Maintains an A/B setup of
fah-clientbinaries, which can be switched between at any time- So if a new beta is problematic, a single command will restart FAH with the previous version
- Checks for new beta releases of
fah-client - If one exists, it is downloaded and becomes the new 'A'
fah-clientbinary- And previous 'A' binary becomes the new 'B' binary
- Unless the 'B' binary was active, in which case it is retained
- The script can self-update, upon request
Absolutely not guaranteed to be bug-free, but my publishing toolchain
requires a clean pass of shellcheck before updating this site. Made
available under the MIT license
Getting started
- Download the script here
- Or give it a read first, if you like
- As root, run
/path/to/fah-beta-mgr setup- This will move the script to
/usr/local/binand do other setup tasks
- This will move the script to
- Run
fah-beta-mgr updateto fetch the current beta FAH client and make it the active binary- Repeat this whenever you want to check for a new beta
- See
fah-beta-mgr helpand/or the rest of this document, for more options
(Some) More options
Update the FAH client
$ sudo fah-beta-mgr upgrade
checking for update... v8.5.5 available; updating... done
Check FBM status
$ fah-beta-mgr status
fah-client is pointed to FAH-A
FAH-A: v8.5.5
FAH-B: v8.5.4
Switch binaries
$ sudo fah-beta-mgr switch
switching fah-client... now pointed to FAH-B (v8.5.4)
Update FBM
$ fah-beta-mgr version
v0.6.0
$ sudo ./fah-beta-mgr fbm-up
checking for fbm update... new version of fbm found and installed
$ fah-beta-mgr version
v0.7.0