don't remove git-templates

also don't remove anthing in /usr/share for now
This commit is contained in:
Daylin Morgan 2024-09-04 14:14:35 -05:00
parent 739321c1b2
commit 1f02f54ad1
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -41,18 +41,19 @@ runs:
$(non_manifest_packages) # > /dev/null $(non_manifest_packages) # > /dev/null
fi fi
(
GLOBIGNORE="/usr/share/git-core/**/*";
sudo rm -rf \ sudo rm -rf \
/var/lib/docker/ \ /var/lib/docker/ \
"$AGENT_TOOLSDIRECTORY" \ "$AGENT_TOOLSDIRECTORY" \
/opt \ /opt \
/usr/{local,share}/** /usr/local/** &
) &
# { # nix flake update wants to find git-core templates
# sudo swapoff -a # /usr/share/git-core/templates
# sudo rm -f /mnt/swapfile # /usr/share/**
# } & {
sudo swapoff -a
sudo rm -f /mnt/swapfile
} &
wait wait
echo "... done" echo "... done"