Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#72302 - archlinux-java script in java-common package

Attached to Project: Arch Linux
Opened by YamadaHayao (hayao) - Thursday, 30 September 2021, 14:44 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 17 February 2022, 14:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Felix Yan (felixonmars)
Levente Polyak (anthraxx)
freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The archlinux-java script in the java-common package has a lot of code that is inappropriate as a Bash script. (ShellCheck prints a lot of errors.) 
I have created a patch that fixes these errors with minimal changes.
First I have posted the patch to the ML but I told to post it in bug tracker.
(Original mailing list is here[1])


This task depends upon

Comment by YamadaHayao (hayao) - Thursday, 30 September 2021, 14:53 GMT
I have updated patch (Added my name to author and some fix)
Please use this patch instead of the first version.