From 17bedf539fd9fb9ad7e6cb887c33a036b3152a9c Mon Sep 17 00:00:00 2001 From: Forest0923 Date: Wed, 8 May 2024 19:52:07 +0900 Subject: [PATCH] Fix: Add rsync to dependent package list (Arch) --- bootstrap.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 596ace7..6adb7c3 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -350,7 +350,8 @@ archLinux() doxygen \ lua \ ant \ - protobuf" + protobuf \ + rsync" if [ "$1" == "qemu" ]; then packages="$packages qemu" @@ -526,7 +527,7 @@ fedora() echo "Unknown emulator: $1" exit 1 fi - + # Use rpm -q to check if it's already installed PKGS=$(for pkg in file \ autoconf \ @@ -668,13 +669,13 @@ suse() echo "Unknown emulator: $1" exit 1 fi - + echo "Installing necessary build tools..." # We could install all the packages in a single zypper command with: # # zypper install package1 package2 package3 - # + # # But there is an issue with this: zypper returns a success code if at # least one of the packages was correctly installed, but we need it to fail # if any of the packages is missing. @@ -687,14 +688,14 @@ suse() if rpm -q "${p}" > /dev/null ; then echo "${p} is already installed" else - # Zypper shows a confirmation prompt and the "y" answer even with + # Zypper shows a confirmation prompt and the "y" answer even with # --non-interactive and --no-confirm: # # 1 new package to install. # Overall download size: 281.7 KiB. Already cached: 0 B. After the operation, additional 394.6 KiB will be used. # Continue? [y/n/v/...? shows all options] (y): y # - # That could make the user think that the package was installed, + # That could make the user think that the package was installed, # when it was only a dry run. # To avoid the confusion, we hide the output unless there was an # error.