Aggiunto controllo build versione.
This commit is contained in:
parent
3ba59005b9
commit
06018439f9
12
checkbuilt.sh
Normal file
12
checkbuilt.sh
Normal 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"
|
Reference in New Issue
Block a user