mirror of
https://github.com/Maks1mS/rg552-fancontrol-phosh-plugin.git
synced 2025-03-31 06:33:45 +03:00
build: replace | head -n 1
with -print -quit
This commit is contained in:
parent
2d5195957d
commit
caaf453c80
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
pc_file=$(find "/usr/lib64/pkgconfig" -maxdepth 1 -type f -name "libphosh-*.pc" | head -n 1)
|
||||
pc_file=$(find "/usr/lib64/pkgconfig" -maxdepth 1 -type f -name "libphosh-*.pc" -print -quit)
|
||||
|
||||
if [ -z "$pc_file" ]; then
|
||||
echo "File libphosh-*.pc not found."
|
||||
|
Loading…
Reference in New Issue
Block a user