mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-10-26 20:22:20 +08:00
Merge branch 'dev' into Reason
This commit is contained in:
commit
d2544795f5
@ -94,10 +94,17 @@ echo --------------------------------------------------------------------------
|
|||||||
|
|
||||||
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
|
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
|
||||||
try_run_ret="$?"
|
try_run_ret="$?"
|
||||||
if [ "$try_run_ret" -ne 0 ];then
|
|
||||||
echo "$try_run_output"
|
if [ "$try_run_ret" -ne 0 ]
|
||||||
exit $try_run_ret
|
then
|
||||||
fi
|
echo "OMG-IT-GOES-WRONG"
|
||||||
|
echo "Package manager quit with exit code.Here is the log"
|
||||||
|
echo "包管理器以错误代码退出.日志如下"
|
||||||
|
echo
|
||||||
|
echo -e "${try_run_output}"
|
||||||
|
exit "$try_run_ret"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
dpkg -i "$DEBPATH" || aptss install -yf
|
dpkg -i "$DEBPATH" || aptss install -yf
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user