kou commented on code in PR #48748:
URL: https://github.com/apache/arrow/pull/48748#discussion_r2667016471


##########
dev/release/setup-rhel-rebuilds.sh:
##########
@@ -16,13 +16,21 @@
 # specific language governing permissions and limitations
 # under the License.
 
-# A script to install dependencies required for release
-# verification on Red Hat Enterprise Linux 10 clones in particular
-# on AlmaLinux 10
+# A script to install dependencies required for release verification
+# on Red Hat Enterprise Linux 8 or later clones in particular on
+# AlmaLinux 8 or later.
 
 set -exu
 
-dnf -y install 'dnf-command(config-manager)'
+distribution_version=$(. /etc/os-release && echo "${VERSION_ID}" | grep -o 
"^[0-9]*")

Review Comment:
   Ah, sorry for remaining a lint error.
   
   `shellcheck source=/dev/null` is better because it's described in 
https://www.shellcheck.net/wiki/SC1091 :
   
   ```suggestion
   # shellcheck source=/dev/null
   distribution_version=$(. /etc/os-release && echo "${VERSION_ID}" | grep -o 
"^[0-9]*")
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to