From 21ee9221c78eda86c4e78404bfe721dfd6124949 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Tue, 21 May 2024 11:39:48 +0200 Subject: [PATCH] [linux] fix install scripts to handle upgrade cases. This fixes #5564. Signed-off-by: Vitalii Koshura --- .github/workflows/linux-package.yml | 113 ++++++++++++++++-- packages/deb/postinst | 40 ++++++- .../linux_package_tests/integration_tests.py | 39 ++++-- 3 files changed, 169 insertions(+), 23 deletions(-) diff --git a/.github/workflows/linux-package.yml b/.github/workflows/linux-package.yml index fe7d43659f..0577892db9 100644 --- a/.github/workflows/linux-package.yml +++ b/.github/workflows/linux-package.yml @@ -423,7 +423,7 @@ jobs: if [ ! -d /etc/boinc-client ] ; then mkdir -p /etc/boinc-client fi - if [ ! -f ${BOINCDIR}/cc_config.xml ] ; then + if [ ! -e ${BOINCDIR}/cc_config.xml ] ; then echo \"\"\"