耶~?判断加错了

This commit is contained in:
luoxueyi 2021-11-17 11:45:50 +08:00
parent 2562feabbd
commit 246978a219
1 changed files with 1 additions and 1 deletions

2
debian/postinst vendored
View File

@ -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