mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-17 01:21:36 +08:00
Compare commits
3 Commits
4.2.3.2Rea
...
4.2.3.2Rea
| Author | SHA1 | Date | |
|---|---|---|---|
| c6688e47fb | |||
| e04b2545a9 | |||
| 9b4c3aa2ce |
4
debian/changelog
vendored
4
debian/changelog
vendored
@@ -1,6 +1,8 @@
|
|||||||
spark-store (4.2.3.2~Reason6) stable; urgency=medium
|
spark-store (4.2.3.2~Reason7) stable; urgency=medium
|
||||||
* ssinstall发现无法验证时尝试update而不是ssupdate
|
* ssinstall发现无法验证时尝试update而不是ssupdate
|
||||||
* 启动每日aptss update
|
* 启动每日aptss update
|
||||||
|
* ssinstall在发现无法安装后尝试先进行下aptss update
|
||||||
|
* 修复:安装商店后首次启动无法安装任何软件
|
||||||
|
|
||||||
-- shenmo <shenmo@spark-app.store>
|
-- shenmo <shenmo@spark-app.store>
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ curl --silent -o /tmp/aptss-conf/apt-fast.conf "https://d.store.deepinos.org.c
|
|||||||
chmod -R 755 /tmp/aptss-conf
|
chmod -R 755 /tmp/aptss-conf
|
||||||
|
|
||||||
curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list"
|
curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list"
|
||||||
cp -r /var/lib/apt/lists/* /var/lib/aptss/lists/
|
|
||||||
|
|
||||||
apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list"
|
apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list"
|
||||||
|
|
||||||
|
|||||||
27
tool/ssaudit
27
tool/ssaudit
@@ -26,19 +26,34 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
DEBPATH=`realpath $1`
|
DEBPATH=`realpath $1`
|
||||||
|
echo ------------------------------------------------------------
|
||||||
echo ----------------------------------------------------------------------------------
|
|
||||||
try_run_output=$(aptss --dry-run install $DEBPATH)
|
try_run_output=$(aptss --dry-run install $DEBPATH)
|
||||||
try_run_ret="$?"
|
try_run_ret="$?"
|
||||||
|
|
||||||
if [ "$try_run_ret" -ne 0 ]
|
if [ "$try_run_ret" -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "Package manager quit with exit code.Here is the log"
|
echo "Package manager quit with exit code.Here is the log"
|
||||||
echo "包管理器以错误代码退出.日志如下"
|
echo "包管理器以错误代码退出.日志如下"
|
||||||
echo
|
echo
|
||||||
echo -e "${try_run_output}"
|
echo -e "${try_run_output}"
|
||||||
exit "$try_run_ret"
|
echo "Will try after run aptss update"
|
||||||
fi
|
echo "将会在aptss update之后再次尝试"
|
||||||
|
aptss update
|
||||||
|
echo ----------------------------------------------------------------------------
|
||||||
|
try_run_output=$(aptss --dry-run install $DEBPATH)
|
||||||
|
try_run_ret="$?"
|
||||||
|
if [ "$try_run_ret" -ne 0 ]
|
||||||
|
then
|
||||||
|
echo "Package manager quit with exit code.Here is the log"
|
||||||
|
echo "包管理器以错误代码退出.日志如下"
|
||||||
|
echo
|
||||||
|
echo -e "${try_run_output}"
|
||||||
|
exit "$try_run_ret"
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
dpkg -i "$DEBPATH" || aptss install -yf
|
dpkg -i "$DEBPATH" || aptss install -yf
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -95,14 +95,28 @@ echo --------------------------------------------------------------------------
|
|||||||
try_run_output=$(aptss --dry-run install $DEBPATH)
|
try_run_output=$(aptss --dry-run install $DEBPATH)
|
||||||
try_run_ret="$?"
|
try_run_ret="$?"
|
||||||
|
|
||||||
if [ "$try_run_ret" -ne 0 ]
|
if [ "$try_run_ret" -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "Package manager quit with exit code.Here is the log"
|
echo "Package manager quit with exit code.Here is the log"
|
||||||
echo "包管理器以错误代码退出.日志如下"
|
echo "包管理器以错误代码退出.日志如下"
|
||||||
echo
|
echo
|
||||||
echo -e "${try_run_output}"
|
echo -e "${try_run_output}"
|
||||||
exit "$try_run_ret"
|
echo "Will try after run aptss update"
|
||||||
fi
|
echo "将会在aptss update之后再次尝试"
|
||||||
|
aptss update
|
||||||
|
echo ----------------------------------------------------------------------------
|
||||||
|
try_run_output=$(aptss --dry-run install $DEBPATH)
|
||||||
|
try_run_ret="$?"
|
||||||
|
if [ "$try_run_ret" -ne 0 ]
|
||||||
|
then
|
||||||
|
echo "Package manager quit with exit code.Here is the log"
|
||||||
|
echo "包管理器以错误代码退出.日志如下"
|
||||||
|
echo
|
||||||
|
echo -e "${try_run_output}"
|
||||||
|
exit "$try_run_ret"
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
dpkg -i "$DEBPATH" || aptss install -yf
|
dpkg -i "$DEBPATH" || aptss install -yf
|
||||||
|
|||||||
Reference in New Issue
Block a user