SHA256
3
0
forked from pool/rpm

fix rpm posttrans scriptlet

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=519
This commit is contained in:
Michael Schröder 2019-12-11 14:28:50 +00:00 committed by Git OBS Bridge
parent 5782062f81
commit 5bd6a279dc
2 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -392,7 +392,8 @@ if test ! -L var/lib/rpm ; then
mv -f var/lib/rpm/.[!.]* usr/lib/sysimage/rpm/
mv -f var/lib/rpm/* usr/lib/sysimage/rpm/
fi
rmdir var/lib/rpm && ln -s ../../usr/lib/sysimage/rpm var/lib/rpm
test -d var/lib/rpm && rmdir var/lib/rpm
test -e var/lib/rpm || ln -s ../../usr/lib/sysimage/rpm var/lib/rpm
fi
%files -f rpm.lang