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

This commit is contained in:
Z-bin 2021-11-11 14:24:36 +08:00
parent 75aaa68c9a
commit fc69d4cd26
1 changed files with 6 additions and 0 deletions

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

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