From 246978a219ac37a4ce99cd01ca570542db029f99 Mon Sep 17 00:00:00 2001 From: luoxueyi Date: Wed, 17 Nov 2021 11:45:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=B6~=3F=E5=88=A4=E6=96=AD=E5=8A=A0?= =?UTF-8?q?=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 16e0a07..bffcb6b 100644 --- a/debian/postinst +++ b/debian/postinst @@ -11,7 +11,7 @@ systemctl enable kylin-system-updater 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/ -if [ ! -f /usr/lib/`dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/libupgrade.so.old ];then +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 \ No newline at end of file