pcloudcc-lneely/detect_fuse.sh

12 lines
201 B
Bash
Executable File

#!/bin/bash
# Detect FUSE version and set appropriate flags
if pkg-config --exists fuse3; then
echo "FUSE3"
elif pkg-config --exists fuse; then
echo "FUSE2"
else
echo "NONE"
exit 1
fi