update and refresh fixes

This commit is contained in:
2026-05-20 08:56:22 -06:00
parent 3a7190229e
commit b5b2437164
3 changed files with 18 additions and 18 deletions

View File

@@ -40,10 +40,13 @@ else
echo "git is installed."
fi
# Clone the latest CoreDesktop repo into the standard data directory
# Update or clone the CoreDesktop repo
echo "Getting the latest version of CoreDesktop..."
rm -rf ~/.local/share/coredesktop
git clone https://gitea.federated.computer/david/coredesktop.git ~/.local/share/coredesktop > /dev/null
if [ -d "$HOME/.local/share/coredesktop/.git" ]; then
git -C ~/.local/share/coredesktop pull
else
git clone https://gitea.federated.computer/david/coredesktop.git ~/.local/share/coredesktop
fi
# Install the corerefresh and coreupdate management scripts to the user's bin
mkdir -p ~/.local/bin