Skip to content

Commit 3461dde

Browse files
committed
provision-derived: Clean lots more stuff
Yeah, we're going to need a `dnf clean all --everything`... Signed-off-by: Colin Walters <[email protected]>
1 parent 30e31f2 commit 3461dde

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hack/provision-derived.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ mkdir -p ~/.config/nushell
1414
echo '$env.config = { show_banner: false, }' > ~/.config/nushell/config.nu
1515
touch ~/.config/nushell/env.nu
1616
dnf -y install nu
17-
dnf clean all && rm /var/log/* -rf
17+
dnf clean all
18+
# Stock extra cleaning of logs and caches in general (mostly dnf)
19+
rm /var/log/* /var/cache /var/lib/dnf /var/lib/rpm-state -rf
20+
# And clean root's homedir
21+
rm /var/roothome/.config -rf

0 commit comments

Comments
 (0)