1
0
Fork 0
This repository has been archived on 2024-03-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
loappimage-helpers/checkbuilt.sh

15 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