#!/bin/dash # autopkgtest check: Build and run a program against glib, to verify that the # headers and pkg-config file are installed correctly # Author: Kun-Hung Tsai (蔡昆宏) set -e echo "run: Check if library file exist" if /sbin/ldconfig -p | grep libmodbus then echo "run: Found libary" else echo "run: Fail" exit 1 fi