diff --git a/dist/arch/paru.txt b/dist/arch/paru.txt index e69de29..612875d 100644 --- a/dist/arch/paru.txt +++ b/dist/arch/paru.txt @@ -0,0 +1,4 @@ +android-sdk-cmdline-tools-latest +android-sdk-platform-tools +android-sdk-build-tools +android-platform diff --git a/dist/pacman.sh b/dist/pacman.sh index 6093973..1e1aa94 100755 --- a/dist/pacman.sh +++ b/dist/pacman.sh @@ -49,4 +49,16 @@ else rm -rf paru fi +PARU_PACKAGE_FILE="dist/arch/paru.txt" + +if [ ! -f "$PARU_PACKAGE_FILE" ]; then + echo "AUR packages file not found: $PARU_PACKAGE_FILE" + exit 1 +else + mapfile -t paru_packages < "$PARU_PACKAGE_FILE" + paru -Syu --noconfirm "${paru_packages[@]}" +fi + +echo "All packages installed successfully." +