#!/bin/bash # ABOUTME: Legacy updater — replaced by moonarch-update from the moonarch-git package. # ABOUTME: Prints deprecation notice and forwards if package version is available. echo "" echo -e "\e[1;33m[Moonarch]\e[0m moonarch-update is now provided by the moonarch-git package." echo -e "\e[1;33m[Moonarch]\e[0m Install with: paru -S moonarch-git" echo -e "\e[1;33m[Moonarch]\e[0m Then run: moonarch-update" echo "" if command -v moonarch-update &>/dev/null && [[ "$(which moonarch-update)" == "/usr/bin/moonarch-update" ]]; then echo -e "\e[1;34m[Moonarch]\e[0m Package version detected. Forwarding..." exec moonarch-update fi