postinst数据迁移
This commit is contained in:
parent
598e64562f
commit
4e6e8b9ec5
|
@ -13,4 +13,10 @@ mv /usr/lib/libupgrade.so /usr/lib/`dpkg-architecture -qDEB_TARGET_MULTIARCH`/uk
|
|||
if [ -f /usr/lib/`dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/libupgrade.so.old ];then
|
||||
echo "Remove old libupgrade.so.old..."
|
||||
rm /usr/lib/`dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/libupgrade.so.old
|
||||
fi
|
||||
|
||||
if [ -f /usr/share/kylin-system-updater/SystemUpdater/Core/DataMigration.py ];then
|
||||
echo "Database record migration"
|
||||
/usr/share/kylin-system-updater/SystemUpdater/Core/DataMigration.py -c /var/cache/kylin-update-manager/kylin-update-manager.db:installed
|
||||
/usr/share/kylin-system-updater/SystemUpdater/Core/DataMigration.py -o /var/cache/kylin-update-manager/kylin-update-manager.db -n /var/cache/kylin-update-manager/kylin-update-manager.db
|
||||
fi
|
Loading…
Reference in New Issue