mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-13 20:32:05 +08:00
新文件: debian/source/format
修改: debian/spark-store.postinst 修改: debian/spark-store.postrm 修改: debian/spark-store.prerm 修改: pkg/usr/lib/systemd/system/spark-update-notifier.service 修改: spark-store-project.pro 修改: tool/update-upgrade/ss-update-controler.sh
This commit is contained in:
9
debian/spark-store.postinst
vendored
9
debian/spark-store.postinst
vendored
@@ -12,6 +12,8 @@ case "$1" in
|
||||
ln -s -f /opt/durapps/spark-store/bin/ssinstall /usr/local/bin/ssinstall
|
||||
ln -s -f /opt/durapps/spark-store/bin/spark-dstore-patch /usr/local/bin/spark-dstore-patch
|
||||
|
||||
|
||||
|
||||
# Download and install key
|
||||
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
|
||||
@@ -20,6 +22,13 @@ case "$1" in
|
||||
# Run apt update to avoid users being fucked up by the non-exist dependency problem
|
||||
apt update
|
||||
|
||||
# Create symbo links to start upgrade detect
|
||||
ln -s /opt/durapps/spark-store/bin/update-upgrade/autostart/spark-update-notifier.desktop /etc/xdg/autostart/spark-update-notifier.desktop
|
||||
|
||||
# Start upgrade detect service
|
||||
systemctl enable spark-update-notifier
|
||||
|
||||
|
||||
# Update certain caches
|
||||
update-icon-caches /usr/share/icons/hicolor || true
|
||||
update-desktop-database /usr/share/applications || true
|
||||
|
||||
Reference in New Issue
Block a user