fix rpm posttrans scriptlet
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=519
This commit is contained in:
parent
5782062f81
commit
5bd6a279dc
@ -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/
|
||||
#
|
||||
|
||||
|
||||
|
5
rpm.spec
5
rpm.spec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user