[libmanette] update-gamecontrollerdb: Drop platform:Linux,



commit 726fdbea7c62ab274f5fcd3251edf6b7a078fe0c
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun Nov 22 09:33:57 2020 +0100

    update-gamecontrollerdb: Drop platform:Linux,
    
    This makes our database more consistent, and will help us when we will
    normalize the database, as normalized mappings don't have the platform
    key.

 tools/update-gamecontrollerdb.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tools/update-gamecontrollerdb.sh b/tools/update-gamecontrollerdb.sh
index 9b07eda..9efdb15 100755
--- a/tools/update-gamecontrollerdb.sh
+++ b/tools/update-gamecontrollerdb.sh
@@ -32,6 +32,7 @@ printf "# Source: https://github.com/gabomdq/SDL_GameControllerDB/blob/master/ga
 # Add the GameControllerDB
 curl https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt \
   | grep "platform:Linux" \
+  | sed 's/platform:Linux,//' \
   | ensure-valid-id | sort >> $OUTPUT
 
 footer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]