SHA256
1
0
forked from pool/systemd

- fixlet-systemd-post.sh: fix invalid use of rpm macro %{_localstatedir}

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1435
This commit is contained in:
Franck Bui 2023-09-12 18:29:08 +00:00 committed by Git OBS Bridge
parent 7305ef9b6b
commit 7168f25ef3
2 changed files with 8 additions and 3 deletions

View File

@ -252,9 +252,9 @@ fix_bsc_1020601() {
# Note: run at each package update.
#
fix_issue_11329() {
if [ -L %{_localstatedir}/lib/systemd/timesync ]; then
rm %{_localstatedir}/lib/systemd/timesync
mv %{_localstatedir}/lib/private/systemd/timesync %{_localstatedir}/lib/systemd/timesync
if [ -L /var/lib/systemd/timesync ]; then
rm /var/lib/systemd/timesync
mv /var/lib/private/systemd/timesync /var/lib/systemd/timesync
fi
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 12 18:28:07 UTC 2023 - Franck Bui <fbui@suse.com>
- fixlet-systemd-post.sh: fix invalid use of rpm macro %{_localstatedir}
-------------------------------------------------------------------
Mon Sep 11 07:54:35 UTC 2023 - Franck Bui <fbui@suse.com>