Files
coredesktop/migrations/1792592700.sh
T
2026-10-21 08:33:19 -06:00

22 lines
554 B
Bash
Executable File

#!/bin/bash
# Rename the coreupdate and corerefresh commands to update and refresh
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
exit 0