Files
coredesktop/updates.d/00-rename-migration.sh
T
2026-10-19 14:01:00 -06:00

18 lines
474 B
Bash
Executable File

#!/bin/bash
COREDESKTOP="$HOME/.local/share/coredesktop"
source "$COREDESKTOP/utils.sh"
if [ -f ~/.local/bin/coreupdate ]; then
echo "Migrating coreupdate -> update..."
install_script "$COREDESKTOP/update" ~/.local/bin/update
sudo rm -f ~/.local/bin/coreupdate
fi
if [ -f ~/.local/bin/corerefresh ]; then
echo "Migrating corerefresh -> refresh..."
install_script "$COREDESKTOP/refresh" ~/.local/bin/refresh
sudo rm -f ~/.local/bin/corerefresh
fi