From a79dc5251f05004a875aa3482a8028067c33ee07 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 30 Nov 2023 11:07:22 +0200 Subject: [gentoo] Remove installation script --- gentoo/remove-install.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 gentoo/remove-install.sh diff --git a/gentoo/remove-install.sh b/gentoo/remove-install.sh new file mode 100755 index 0000000..274e6ee --- /dev/null +++ b/gentoo/remove-install.sh @@ -0,0 +1,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/ -- cgit v1.2.3