mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
update: check is installed
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user