Skip to content

Commit 0727488

Browse files
committed
Use --help instead deprecated --usage to asset presence of pkg-config (Closes: #5)
1 parent 086cb00 commit 0727488

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def run_command(self, command):
6666
pkgcfg.close()
6767

6868
else:
69-
if os.system('pkg-config --usage 2> /dev/null') == 0:
69+
if os.system('pkg-config --help 2> /dev/null') == 0:
7070
print("""pkg-config could not find fuse:
7171
you might need to adjust PKG_CONFIG_PATH or your
7272
FUSE installation is very old (older than 2.1-pre1)""")

0 commit comments

Comments
 (0)