Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
22 lines
427 B
Bash
Executable File
22 lines
427 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Set the Omarchy package channel.
|
|
# omarchy:args=<stable|rc|edge|dev>
|
|
# omarchy:requires-sudo=true
|
|
|
|
set -e
|
|
|
|
if (($# == 0)); then
|
|
echo "Usage: omarchy-channel-set [stable|rc|edge|dev]"
|
|
exit 1
|
|
fi
|
|
|
|
channel="$1"
|
|
case "$channel" in
|
|
stable|rc|edge) omarchy-refresh-pacman "$channel" ;;
|
|
dev) omarchy-refresh-pacman edge ;;
|
|
*) echo "Unknown channel: $channel"; exit 1 ;;
|
|
esac
|
|
|
|
omarchy-update -y
|