# Update OpenBSD step to incorporate checking if on `-CURRENT` so we can pass the correct flags to `sysupgrade(8)` and `pkg_add(1)` ## Which tool is this about? Topgrade OpenBSD step ## Which operating systems are supported by this tool? OpenBSD-STABLE (& OpenBSD-CURRENT) ## What should Topgrade do to figure out if the tool needs to be invoked? Pull from `uname -r` to check if suffixed by `-current` ## Which exact commands should Topgrade run? If `uname -r` has `-current` suffix: - `pkg_add -Dsnap -u` (for pkg) - `sysupgrade -sn` (for system) ## Does it have a `--dry-run` option? i.e., print what should be done and exit. No. ## Does it need the user to confirm the execution? And does it provide a `--yes` option to skip this step? No. ## More information I'm self-assigning this. I'll send a PR once finished testing.