restored package_updated
This commit is contained in:
parent
1d02860306
commit
7bff82da28
1 changed files with 12 additions and 0 deletions
|
|
@ -60,6 +60,18 @@ truncate_description() {
|
|||
fi
|
||||
}
|
||||
|
||||
package_updated() {
|
||||
check="$1"
|
||||
for x in ${packages[@]}; do
|
||||
echo $x
|
||||
if [[ "$x" == "$check" ]]; then
|
||||
echo "yes"
|
||||
return
|
||||
fi
|
||||
done
|
||||
echo "no"
|
||||
}
|
||||
|
||||
trap 'traperror ${LINENO} $? "$BASH_COMMAND" $BASH_LINENO "${FUNCNAME[@]}"' ERR
|
||||
trap trapkill SIGTERM SIGINT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue