From 368b4d7d127a12f04fd6b99d35c638f24b0f9675 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 20 Aug 2009 18:57:43 +0200 Subject: [PATCH] Fix empty pakfire uuid file. --- config/rootfiles/core/30/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/30/update.sh b/config/rootfiles/core/30/update.sh index abf541e133..c7eebf948c 100644 --- a/config/rootfiles/core/30/update.sh +++ b/config/rootfiles/core/30/update.sh @@ -62,3 +62,8 @@ if [ "$ctdisk" == " ../../xvda3" ]; then # sed -i 's|"2.5"|"2.5-ct"|g' /opt/pakfire/etc/pakfire.conf fi +# On ct' Server the pakfire uuid file exist but it is empty +# delete this empty file so pakfire generate a uuid +if [ ! -s "/opt/pakfire/db/uuid" ]; then + rm -f /opt/pakfire/db/uuid +fi -- 2.39.5