try not to delete git-core data

This commit is contained in:
Daylin Morgan 2024-08-09 13:03:45 -05:00
parent ef83435bed
commit a8ad42cb21
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -41,11 +41,13 @@ runs:
$(non_manifest_packages) # > /dev/null
fi
sudo rm -rf /opt &
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
GLOBIGNORE="/usr/share/git-core/**/*"
sudo rm -rf \
/var/lib/docker/ \
"$AGENT_TOOLSDIRECTORY" \
/opt \
/usr/{local,share} &
sudo rm -rf /var/lib/docker &
sudo rm -rf /usr/{local,share} &
{
sudo swapoff -a
sudo rm -f /mnt/swapfile