From be76b33661ede3f97b66a24d33c831d16bc2255f Mon Sep 17 00:00:00 2001 From: gabeszm Date: Sat, 21 Dec 2024 16:07:49 +0100 Subject: [PATCH] 00 --- arch_install.sh | 6 +++--- rp_cosmetics.sh | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch_install.sh b/arch_install.sh index 456d605..f34efb7 100644 --- a/arch_install.sh +++ b/arch_install.sh @@ -20,7 +20,7 @@ echo "ALL ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/disable-password > if [ -f "tweak.sh" ]; then echo "A Tweak telepítő szkript sikeresen letöltve. Futtatás..." sudo chmod +x tweak.sh - sudo -u $(whoami) bash -x tweak.sh | tee tweak.log + sudo -E bash -x tweak.sh | tee tweak.log else echo "Nem sikerült letölteni a Tweak telepítő szkriptet." exit 1 @@ -93,7 +93,7 @@ if [ "$de_choice" == "1" ]; then if [ -f "gnome.sh" ]; then echo "A GNOME telepítő szkript sikeresen letöltve. Futtatás..." sudo chmod +x gnome.sh - sudo -u $(whoami) bash -x gnome.sh | tee gnome_install.log + sudo -E bash -x gnome.sh | tee gnome_install.log else echo "Nem sikerült letölteni a GNOME telepítő szkriptet." exit 1 @@ -132,7 +132,7 @@ if [ "$de_choice" == "1" ]; then if [ -f "rp_cosmetics.sh" ]; then echo "A rp_cosmetics telepítő szkript sikeresen letöltve. Futtatás..." sudo chmod +x rp_cosmetics.sh - sudo -u $(whoami) bash -x rp_cosmetics.sh | tee rp_cosmetics.log + sudo -E bash -x rp_cosmetics.sh | tee rp_cosmetics.log else echo "Nem sikerült letölteni a rp_cosmetics telepítő szkriptet." exit 1 diff --git a/rp_cosmetics.sh b/rp_cosmetics.sh index bb6bdea..a255c15 100644 --- a/rp_cosmetics.sh +++ b/rp_cosmetics.sh @@ -9,7 +9,7 @@ cd cosmetics wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/ unzip cosmetics.zip sudo chown -R $$current_user:$GROUP /home/$current_user/cosmetics/ -sudo mkdir -p /home/$current_user/.local/share/ + sudo rsync -ap --info=progress2 gnome-shell /home/$current_user/.local/share/ cp -a burn-my-windows /home/$current_user/.config/ sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ @@ -23,8 +23,7 @@ dconf load / < raveui-eng sudo mkdir -p /usr/share/backgrounds/ sudo cp -a raveos-bg.png /usr/share/backgrounds/ sudo cp -a overrides /home/$current_user/.local/share/flatpak/ -sudo mkdir -p /home/$current_user/.icons/ -sudo mkdir -p /home/$current_user/.themes/ + cp -a .icons /home/$current_user/ cp -a .themes /home/$current_user/