mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-06-05 14:45:58 +08:00
update: check is installed
This commit is contained in:
parent
244f58ecce
commit
832b53dfc9
@ -1,2 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dpkg -l | grep "^ii $1 " > /dev/null
|
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