mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-28 01:47:19 +01:00
bbfdm: generate error if plugin missing
This commit is contained in:
parent
02761cabac
commit
3c6f3ab3bf
1 changed files with 12 additions and 3 deletions
|
|
@ -36,15 +36,24 @@ shift
|
|||
DATA="${1}"
|
||||
|
||||
install_bin() {
|
||||
install -m0755 ${1} ${2}
|
||||
if ! install -m0755 ${1} ${2}; then
|
||||
echo "Failed to install bin ${1} => ${2}"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
install_dir() {
|
||||
install -d -m0755 ${1}
|
||||
if ! install -d -m0755 ${1}; then
|
||||
echo "Failed to create directory ${1}"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
install_data() {
|
||||
install -m0644 ${1} ${2}
|
||||
if ! install -m0644 ${1} ${2}; then
|
||||
echo "Failed to install ${1} => ${2}"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# Installing datamodel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue