修改启动方式

This commit is contained in:
luoxueyi 2021-12-21 14:55:10 +08:00
parent 931d5fe2e3
commit 5fa607c942
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/