安装此包时preinst脚本报错问题,使用dpkg-architecture获取安装路径
This commit is contained in:
parent
fc69d4cd26
commit
0750bfb5a2
|
@ -2,5 +2,5 @@
|
|||
|
||||
set -e
|
||||
|
||||
path="`qmake -query "QT_INSTALL_LIBS"`/ukui-control-center/libnetconnect.so"
|
||||
path="/usr/lib/`/usr/bin/dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/libnetconnect.so"
|
||||
dpkg-divert --package kylin-nm --rename --divert "$path"".old" --add $path
|
||||
|
|
Loading…
Reference in New Issue