oops, fix order for ln command in posttrans

This commit is contained in:
Neal Gompa 2022-03-21 18:45:52 -04:00
parent 391c3aeb66
commit 2bef3ba7c7

View File

@ -450,7 +450,7 @@ if [ -d /var/lib/rpm ]; then
touch /var/lib/rpm/.migratedb
fi
if [ ! -d /var/lib/rpm ] && [ -d /usr/lib/sysimage/rpm ] && [ ! -f /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created ]; then
ln -sfr /var/lib/rpm /usr/lib/sysimage/rpm
ln -sfr /usr/lib/sysimage/rpm /var/lib/rpm
touch /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created
fi