From 2bef3ba7c792cb1169f34180d937f58c664390ec Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mar 21 2022 22:45:52 +0000 Subject: oops, fix order for ln command in posttrans --- diff --git a/rpm.spec b/rpm.spec index 9f9c543..7f56974 100644 --- a/rpm.spec +++ b/rpm.spec @@ -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