Merge branch 'backend_dev-test' into 'dev_test'

修改启动方式

See merge request kylin-desktop/update-manager-group/kylin-system-updater!165
This commit is contained in:
Xueyi Luo 2021-12-21 06:58:38 +00:00
commit ece632004d
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
backend/data/kylin-system-updater.db /usr/share/kylin-system-updater/
backend/data/30kylin-system-updater /etc/apt/apt.conf.d/
backend/data/com.kylin.systemupgrade.conf /etc/dbus-1/system.d/
backend/data/com.kylin.systemupgrade.service /usr/share/dbus-1/system-services/
backend/data/com.kylin.systemupgrade.service /usr/lib/systemd/system/
backend/kylin-system-updater /usr/share/kylin-system-updater/
backend/SystemUpdater/*.py /usr/share/kylin-system-updater/SystemUpdater/
backend/SystemUpdater/backend/*.py /usr/share/kylin-system-updater/SystemUpdater/backend/

2
debian/postinst vendored
View File

@ -6,7 +6,7 @@ if [ ! -f /var/cache/kylin-system-updater/kylin-system-updater.db ];then
echo "Copying database to the specified path ..."
cp -r /usr/share/kylin-system-updater/kylin-system-updater.db /var/cache/kylin-system-updater/
fi
systemctl enable com.kylin.systemupgrade.servicesystemctl enable com.kylin.systemupgrade.service
mkdir -p /usr/lib/`dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/
mv /usr/lib/libupgrade.so /usr/lib/`dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/