mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Fix empty pakfire uuid file.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user