HyukjinKwon commented on code in PR #48748:
URL: https://github.com/apache/arrow/pull/48748#discussion_r2666985906
##########
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:
```suggestion
# shellcheck disable=SC1091
distribution_version=$(. /etc/os-release && echo "${VERSION_ID}" | grep -o
"^[0-9]*")
```
since /etc/os-release is a standard Linux system file that exists on all OS.
Seems like it's just missing in the image that we run linter.
--
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]