Update tests_databases

This commit is contained in:
Michael Boelen 2024-03-12 13:38:04 +01:00 committed by GitHub
parent 4f6eeb7537
commit 1d3de50579
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -302,8 +302,8 @@
if [ ${QNAP_DEVICE} -eq 1 ]; then
PATHS="${PATHS} ${ROOTDIR}share/CACHEDEV1_DATA/.qpkg/QKVM/usr/etc/redis.conf"
fi
if [ -d "/snap" ]; then
for SNAP_PATH in $(${FINDBINARY} /snap -name 'redis.conf' -type f | ${SEDBINARY} 's/redis.conf$//g'); do
if [ -d "${ROOTDIR}snap" ]; then
for SNAP_PATH in $(${FINDBINARY} ${ROOTDIR}snap -name 'redis.conf' -type f | ${SEDBINARY} 's/redis.conf$//g'); do
PATHS="${PATHS} ${SNAP_PATH}"
done
fi