Avoid corruption in 60-openrgb.rules
Due to the missing line-break before DUMMY_LIST it would replace whatever was the first entry in there. * Resolves #3675 This patch was done while working on reproducible builds for openSUSE.
This commit is contained in:
parent
cd4004dce2
commit
dfff062bc6
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ do
|
|||
while read -r detector
|
||||
do
|
||||
#Filter the list for all devices that use this detector
|
||||
text=$(printf '%s\n%s' "$HID_LIST" "$HID_WRAPPER_LIST" "$DUMMY_LIST" | grep ${detector} | cut -d: -f 2- | sed -e 's/"//g')
|
||||
text=$(printf '%s\n%s\n%s' "$HID_LIST" "$HID_WRAPPER_LIST" "$DUMMY_LIST" | grep ${detector} | cut -d: -f 2- | sed -e 's/"//g')
|
||||
|
||||
#Replace the detector string with the list of devices
|
||||
detectors=${detectors/${detector}/${text}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue