From 9d53300f3666e624d109edd27cec23b15ef40b9d Mon Sep 17 00:00:00 2001 From: icenine451 Date: Tue, 27 Feb 2024 15:57:33 -0500 Subject: [PATCH] Fix controller profile detection search paths --- functions/post_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/post_update.sh b/functions/post_update.sh index 22daad9b..da238ab7 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -269,7 +269,7 @@ post_update() { rsync -rlD --mkpath "/app/retrodeck/extras/DynamicInputTextures/" "/var/data/primehack/Load/DynamicInputTextures/" fi - if [[ ! -z $(find . -maxdepth 1 -type f -iname "RetroDECK*.vdf") ]]; then # If RetroDECK controller profile has been previously installed + if [[ ! -z $(find "$HOME/.steam/steam/controller_base/templates/" -maxdepth 1 -type f -iname "RetroDECK*.vdf") || ! -z $(find "$HOME/.var/app/com.valvesoftware.Steam/.steam/steam/controller_base/templates/" -maxdepth 1 -type f -iname "RetroDECK*.vdf") ]]; then # If RetroDECK controller profile has been previously installed install_retrodeck_controller_profile fi