#!/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