修改postinst

This commit is contained in:
luoxueyi 2021-12-21 15:11:10 +08:00
parent 5fa607c942
commit ddee5e0b80
1 changed files with 1 additions and 1 deletions

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
systemctl 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/