#!/usr/bin/env bash

# omarchy:summary=Print the active Omarchy package channel

set -euo pipefail

# Based: the channel is the based-* apt source the machine tracks, which
# omarchy-version-channel reads. There is no linked-checkout channel.
case "$(omarchy-version-channel 2>/dev/null)" in
  stable) echo stable ;;
  dev) echo dev ;;
  *) echo unknown ;;
esac
