Browse Source

Allow multiple packages to be installed

Toyam Cox 3 năm trước cách đây
mục cha
commit
bdcc109f8b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      dracut/autoinstaller/install.sh

+ 2 - 1
dracut/autoinstaller/install.sh

@@ -67,7 +67,8 @@ VAI_install_base_system() {
 
     # Install additional packages
     if [  -n "${pkgs}" ] ; then
-        XBPS_ARCH="${XBPS_ARCH}" xbps-install -Sy -R "${xbpsrepository}" -r /mnt "${pkgs}"
+        # shellcheck disable=SC2086
+        XBPS_ARCH="${XBPS_ARCH}" xbps-install -Sy -R "${xbpsrepository}" -r /mnt ${pkgs}
     fi
 }