16 lines
232 B
Bash
16 lines
232 B
Bash
#!/bin/bash
|
|
|
|
storage=$1
|
|
version=$2
|
|
shift 2
|
|
|
|
count=$(find "${storage}" -iname "*${version}*.AppImage" | wc -l)
|
|
|
|
if [[ ${count} -eq 0 ]]; then
|
|
echo "status: not built"
|
|
exit 1
|
|
else
|
|
echo "status: built"
|
|
# Nothing more to do!
|
|
fi
|