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 $(non_manifest_packages) # > /dev/null
fi fi
sudo rm -rf /opt & GLOBIGNORE="/usr/share/git-core/**/*"
sudo rm -rf "$AGENT_TOOLSDIRECTORY" & 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 swapoff -a
sudo rm -f /mnt/swapfile sudo rm -f /mnt/swapfile