1
0
This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
loappimage-helpers/checkbuilt.sh

16 lines
232 B
Bash
Raw Normal View History

2022-03-19 01:21:56 +01:00
#!/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!
2022-03-19 01:27:48 +01:00
fi