FS#56042 - bashisms in reflector

Attached to Project: Arch Linux
Opened by Hawky (p90) - Thursday, 19 October 2017, 08:03 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 19 October 2017, 13:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

noticed this poping up at the latest pac -Syu.

( 6/13) Updating pacman-mirrorlist with reflector and removing pacnew...
sh: 1: [[: not found
( 7/13) Upgrading systemd-boot...

As I am using dash instead of bash, I assume this is due to a bashism in the reflector scripts.
Either remove the bashism or call bash explicitly instead of sh
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 19 October 2017, 13:29 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Thursday, 19 October 2017, 10:53 GMT
The reflector script is:

#!/bin/bash
python3 -m Reflector "$@"


so it is whatever hook you have installed to call that. There does not appear to be one in the reflector package...

Loading...