mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-05-20 16:19:49 +08:00
update: check is installed
This commit is contained in:
parent
244f58ecce
commit
832b53dfc9
@ -1,2 +1,10 @@
|
||||
#!/bin/bash
|
||||
dpkg -l | grep "^ii $1 " > /dev/null
|
||||
RET="$?"
|
||||
if [[ "$RET" != "0" ]] && command -v bookworm-run > /dev/null;then
|
||||
echo "Try ACE Bookworm"
|
||||
bookworm-run dpkg -l | grep "^ii $1 " > /dev/null
|
||||
RET="$?"
|
||||
exit "$RET"
|
||||
fi
|
||||
exit "$RET"
|
||||
|
Loading…
x
Reference in New Issue
Block a user