Forgot an else.

This commit is contained in:
fewtarius 2023-10-17 17:32:31 +00:00
parent 3d4659d50e
commit 4583ddbcbf
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -33,6 +33,8 @@ fi
if [ -d "${GAME_DIR}/${HW_ARCH}" ]
then
LAUNCH_DIR="${GAME_DIR}/${HW_ARCH}"
else
LAUNCH_DIR="${GAME_DIR}"
fi
cp -f /usr/config/SDL-GameControllerDB/gamecontrollerdb.txt ${LAUNCH_DIR}/sdl_controllers.txt