chore: 修改 postinst / prerm 脚本

隐藏 asc key 文件下载过程;asc 文件转为 gpg 文件直接放入 /etc/apt/trusted.gpg.d 文件夹生效;隐藏 apt update 输出日志

Log: 修改 postinst / prerm 脚本;修改 copyright 文件
This commit is contained in:
zty199
2022-02-04 21:11:47 +08:00
parent 45e1970186
commit 3bfc183c89
3 changed files with 29 additions and 14 deletions

View File

@@ -6,3 +6,10 @@ rm /usr/local/bin/ssinstall
rm /usr/local/bin/spark-dstore-patch
rm /usr/local/bin/ussinstall
rm /usr/local/bin/ussremove
# Remove gpg key file
if [ -f "/etc/apt/trusted.gpg.d/spark-store.gpg" ] ; then
rm /etc/apt/trusted.gpg.d/spark-store.gpg
fi
nohup apt-key del '9D9A A859 F750 24B1 A1EC E16E 0E41 D354 A29A 440C' > /dev/null 2>&1 &