修改: debian/changelog

新文件:   pkg/usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
	修改:     spark-store-project.pro
	修改:     src/main.cpp
	修改:     tool/ssinstall
This commit is contained in:
2022-04-25 13:34:25 +08:00
parent da8ee30fbd
commit 873a83e6b9
5 changed files with 51 additions and 3 deletions

View File

@@ -3,6 +3,24 @@
echo "Spark Store Install script.星火商店安装脚本"
if [ $# -eq 0 ];then
echo "没有接收到参数,退出"
echo "用法:$0 deb路径"
exit
fi
if [ "$(id -u)" != "0" ]
then
echo "ssinstall需要在root下运行";
exit
fi
if [ ! -f "$1" ]
then
echo "文件不存在"
exit
fi
DEPEND=`which apt-fast`
isuos=`cat /etc/os-release | grep UnionTech`
#临时提升星火源的优先级
@@ -30,4 +48,4 @@ dpkg -i $1 || apt-fast install -yf || dpkg -P $1
fi
sed -i 's/500/400/g' /etc/apt/preferences.d/sparkstore
#恢复优先级
#恢复优先级