mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-23 05:52:22 +08:00
安装时删除已有的源
This commit is contained in:
parent
a252e7b724
commit
971a5dcc63
5
debian/spark-store.postinst
vendored
5
debian/spark-store.postinst
vendored
@ -6,6 +6,11 @@ case "$1" in
|
||||
# config for aptss
|
||||
mkdir -p /etc/aptss/sources.list.d
|
||||
ln -s -f /etc/apt/sources.list /etc/aptss/sources.list
|
||||
|
||||
# Remove the sources.list file
|
||||
if [ -e /etc/apt/sources.list.d/sparkstore.list ];then
|
||||
rm /etc/apt/sources.list.d/sparkstore.list
|
||||
fi
|
||||
|
||||
|
||||
# Check if /usr/local/bin existed
|
||||
|
Loading…
x
Reference in New Issue
Block a user