mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-13 20:32:05 +08:00
!82 modified: debian/changelog modified: debian/spark-store.postinst new file: tool/spark-store.asc
* modified: debian/changelog
This commit is contained in:
6
debian/spark-store.postinst
vendored
6
debian/spark-store.postinst
vendored
@@ -16,14 +16,14 @@ case "$1" in
|
||||
|
||||
|
||||
# Download and install key
|
||||
curl --http1.1 --progress-bar -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
|
||||
mkdir -p /tmp/spark-store-install/
|
||||
cp -f /opt/durapps/spark-store/bin/spark-store.asc /tmp/spark-store-install/spark-store.asc
|
||||
gpg --dearmor /opt/durapps/spark-store/bin/spark-store.asc
|
||||
cp -f /tmp/spark-store-install/spark-store.asc.gpg /etc/apt/trusted.gpg.d/spark-store.gpg
|
||||
|
||||
|
||||
# Remove existing source file
|
||||
rm -f /etc/apt/preferences.d/sparkstore
|
||||
rm -f /etc/apt/sources.list.d/sparkstore.list
|
||||
|
||||
|
||||
# Run apt update to avoid users being fucked up by the non-exist dependency problem
|
||||
|
||||
Reference in New Issue
Block a user