fix:解决so包含导致的升级问题

This commit is contained in:
Z-bin 2021-11-11 15:01:47 +08:00
parent f2f44c4252
commit 674ee7b5f7
1 changed files with 6 additions and 0 deletions

6
debian/kylin-system-updater.preinst vendored Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -e
path="`qmake -query "QT_INSTALL_LIBS"`/ukui-control-center/libupgrade.so"
dpkg-divert --package kylin-system-updater --rename --divert "$path"".old" --add $path