Skip to content

Commit a4a5b0e

Browse files
ClutchnpReenigneArcher
authored andcommitted
dont reinstall packages if not needed
1 parent e3c6198 commit a4a5b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/linux_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ if grep -q "Arch Linux" /etc/os-release; then
495495
distro="arch"
496496
version=""
497497
package_update_command="${sudo_cmd} pacman -Syu --noconfirm"
498-
package_install_command="${sudo_cmd} pacman -Sy"
498+
package_install_command="${sudo_cmd} pacman -Sy --needed"
499499
nvm_node=0
500500
elif grep -q "Debian GNU/Linux 12 (bookworm)" /etc/os-release; then
501501
distro="debian"

0 commit comments

Comments
 (0)