Aggiunto controllo build versione.

This commit is contained in:
Emiliano Vavassori 2022-03-19 01:21:56 +01:00
parent 3ba59005b9
commit 06018439f9
1 changed files with 12 additions and 0 deletions

12
checkbuilt.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
storage=$1
version=$2
shift 2
count=$(find "${storage}" -iname "*${version}*.AppImage" | wc -l)
if [[ ${count} -eq 0 ]]; then
echo "status: built"
else
echo "status: not built"