mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-08-11 07:02:21 +08:00
update debian/spark-store.postinst.
This commit is contained in:
parent
7f6b8c1f5e
commit
0b00cd2f4d
6
debian/spark-store.postinst
vendored
6
debian/spark-store.postinst
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user