Refactor post-install.sh and transform.sh to install moonarch-git via paru instead of manually copying configs, scripts, and themes. Remove install-themes.sh (replaced by sweet-cursors-git dependency). Replace update.sh with deprecation notice that forwards to the package-provided moonarch-update in /usr/bin/.
15 lines
646 B
Bash
Executable File
15 lines
646 B
Bash
Executable File
#!/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
|