From daba599740b6389f338f5448d3c54eb4d8639310 Mon Sep 17 00:00:00 2001 From: anorien90 Date: Tue, 9 Dec 2025 16:35:49 +0100 Subject: [PATCH] fixed init_rc and added it to general setup --- dist/pacman.sh | 3 --- setup.sh | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dist/pacman.sh b/dist/pacman.sh index 95ca188..95e41c0 100755 --- a/dist/pacman.sh +++ b/dist/pacman.sh @@ -73,9 +73,6 @@ else yes | su - "$BUILD_USER" -c "paru -S --noconfirm ${paru_packages[*]}" yes | su - "$BUILD_USER" -c "yes | sdkmanager --licenses" yes | su - "$BUILD_USER" -c "yes | sudo pacman -Syu --noconfirm gradle" - yes | su - "$BUILD_USER" -c "dist/init_rc.sh" - # check if bashrc or zshrc contains sdkman initialization, if not add it fi - echo "All packages installed successfully." diff --git a/setup.sh b/setup.sh index c677cc3..bf056ff 100755 --- a/setup.sh +++ b/setup.sh @@ -25,6 +25,10 @@ case "$DISTRO" in ;; esac +# Initialize shell configuration +echo "Initializing shell configuration..." +bash dist/init_rc.sh + echo "Setup completed."