aboutsummaryrefslogtreecommitdiff
path: root/gentoo/remove-install.sh
blob: 274e6ee988c91088ab089d2b9a4de7f03e5b774d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# This script mostly removes (and sometimes moves) folders, to prepare for a new OS install (primarily for NixOS with my config).

echo "Please review and run these commands manually!"; exit 1

rm -r \
	/bin /sbin /lib /lib64 \
	/usr/bin /usr/sbin /usr/lib /usr/lib64 /usr/libexec \
	/usr/share/applications /usr/share/fonts \
	/var/db /var/cache \
	/etc/elogind /etc/polkit-1

cp -r /usr/share/themes/Mint* /home/kamen/.local/share/themes/
cp -r /usr/share/themes/Blocks /home/kamen/.local/share/themes/
cp -r /usr/share/icons/Mint* /home/kamen/.local/share/icons/
cp -r /usr/share/icons/oreo* /home/kamen/.local/share/icons/