Files
coredesktop/updates.d/00-rename-migration.sh
T
2026-08-14 05:45:29 -06:00

16 lines
428 B
Bash
Executable File

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