From 19f086195add8647533e57dd5c05066c5cf122f2 Mon Sep 17 00:00:00 2001 From: Jane Doe Date: Fri, 21 Jun 2024 14:54:55 +0000 Subject: [PATCH] Change: Plasma/Gnome Optimized System Setups: Silence unnecessary verbosity when activating 'x86_energy_perf_policy' package during installation, where applicable. Change: Remove unnecessary '--ultra -20' flag from the zstd compression option at '/etc/makepkg.conf.d/makepkgd.conf' custom drop-in file. --- Amelia.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Amelia.sh b/Amelia.sh index 9681a33..fff30f7 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -1,7 +1,7 @@ #!/bin/bash # Amelia Installer -# Version: 5.6 +# Version: 5.7 set -euo pipefail trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR @@ -696,14 +696,13 @@ Enter a password for the${nc}${cyan} Root ${blue}user: " reload return 1 fi - BLUE " Re-enter${nc} ${cyan}Root ${blue}user's password: " read -r -p " ==> " ROOTPASSWD2 echo - + if [[ "${ROOTPASSWD}" != "${ROOTPASSWD2}" ]]; then sleep 0.3 RED " @@ -4932,7 +4931,7 @@ NVIDIA_HOOK fi if [[ -n "${nrg_plc}" ]]; then - arch-chroot /mnt <<-NRG + arch-chroot /mnt <<-NRG > /dev/null 2>&1 ${nrg_plc} performance NRG fi @@ -4965,7 +4964,7 @@ NRG OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto) COMPRESSGZ=(pigz -c -f -n) COMPRESSBZ2=(pbzip2 -c -f) - COMPRESSZST=(zstd -c -T0 --ultra -20 --auto-threads=logical -)' | tee /etc/makepkg.conf.d/makepkgd.conf || exit + COMPRESSZST=(zstd -c -T0 --auto-threads=logical -)' | tee /etc/makepkg.conf.d/makepkgd.conf || exit ln -sf /usr/share/zoneinfo/$(curl -s http://ip-api.com/line?fields=timezone) /etc/localtime || exit hwclock --systohc || exit echo ${HOSTNAME} > /etc/hostname || exit