remove file from path

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2022-08-24 10:17:54 +02:00
parent fc62b39f34
commit 4f6eeb7537

View File

@ -303,7 +303,7 @@
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); do
for SNAP_PATH in $(${FINDBINARY} /snap -name 'redis.conf' -type f | ${SEDBINARY} 's/redis.conf$//g'); do
PATHS="${PATHS} ${SNAP_PATH}"
done
fi