From ff5d103dd8070ba56b3648268f639291b73c972f Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 1 Sep 2024 22:28:14 +0000 Subject: [PATCH] s --- gentoo.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gentoo.sh b/gentoo.sh index 6d119b2..f8a9a35 100644 --- a/gentoo.sh +++ b/gentoo.sh @@ -126,19 +126,6 @@ autoLogin() { echo "ExecStart=-/sbin/agetty --autologin $USER --noclear %I /usr/bin/bash" >>$GETTY } -osSnapshots() { - echo - mkdir $2 - echo "[Creating new OS snapshot to $1/$2.tgz]" - echo - echo - NEW_TAR_EXCLUDES="$TAR_EXCLUDES --exclude=$TARGET/* " - echo - rm -f $1/$2.tgz - time tar cpzvf $1/$2.tgz $NEW_TAR_EXCLUDES / - chown $USER:$USER $1/$2.tgz -} - systemMounts() { echo echo "[Checking for BTRFS Partition]" @@ -911,8 +898,6 @@ fixBase() { if [ "$1" = "desktop" ]; then desktop -elif [ "$1" = "tar" ]; then - osSnapshots "$3" "$2" elif [ "$1" = "upgrade-system" ]; then upgrade-system elif [ "$1" = "fstab" ]; then