update debian/spark-store.postinst.

This commit is contained in:
shenmo 2022-02-20 05:18:08 +00:00 committed by Gitee
parent 7f6b8c1f5e
commit 0b00cd2f4d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -13,12 +13,12 @@ case "$1" in
ln -s -f /opt/durapps/spark-store/bin/spark-dstore-patch /usr/local/bin/spark-dstore-patch
# Download and install key
nohup wget -O /tmp/spark-store-install/spark-store.asc https://d.store.deepinos.org.cn/dcs-repo.gpg-key.asc > /dev/null 2>&1
nohup gpg --dearmor /tmp/spark-store-install/spark-store.asc > /dev/null 2>&1
wget -O /tmp/spark-store-install/spark-store.asc https://d.store.deepinos.org.cn/dcs-repo.gpg-key.asc
gpg --dearmor /tmp/spark-store-install/spark-store.asc
cp -f /tmp/spark-store-install/spark-store.asc.gpg /etc/apt/trusted.gpg.d/spark-store.gpg
# Run apt update to avoid users being fucked up by the non-exist dependency problem
nohup apt update > /dev/null 2>&1 &
apt update &
# Update certain caches
update-icon-caches /usr/share/icons/hicolor || true