From 10bee3e63fcfe3fb50feb610f5888e2d3b224800 Mon Sep 17 00:00:00 2001 From: olf Date: Sun, 3 Nov 2024 03:40:10 +0100 Subject: [PATCH] [rpm/harbour-storeman-installer.spec] Move `rm -f /var/cache/ssu/features.ini` --- rpm/harbour-storeman-installer.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rpm/harbour-storeman-installer.spec b/rpm/harbour-storeman-installer.spec index 3aac828..2f848d7 100644 --- a/rpm/harbour-storeman-installer.spec +++ b/rpm/harbour-storeman-installer.spec @@ -148,7 +148,6 @@ ssu_lr="$(ssu lr | grep '^ - ' | cut -f 3 -d ' ')" if echo "$ssu_lr" | grep -Fq mentaljam-obs then ssu rr mentaljam-obs - rm -f /var/cache/ssu/features.ini ssu_ur=yes fi # Add harbour-storeman-obs repository configuration, depending on the installed @@ -185,7 +184,9 @@ then else echo "Error: VERSION_ID=$VERSION_ID => sailfish_version=$sailfish_version" fi if [ $ssu_ur = yes ] -then ssu ur +then + rm -f /var/cache/ssu/features.ini + ssu ur fi # BTW, `ssu`, `rm -f`, `mkdir -p` etc. *always* return with "0" ("success"), hence # no appended `|| true` needed to satisfy `set -e` for failing commands outside of