Files
coredesktop/updates.d/00-rename-migration.sh
T
2026-10-19 13:56:54 -06:00

16 lines
460 B
Bash
Executable File

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