From 911ed35367190f4825b6e96b75d06d4da000148f Mon Sep 17 00:00:00 2001 From: Tulili Date: Sun, 10 Sep 2023 19:04:35 -0300 Subject: [PATCH] fix: make sure wallpapers dir exists before symlinking that should make the new modular system in startingpoint accept the wallpapers rpm! --- build/backgrounds/ublue-os-wallpapers.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/backgrounds/ublue-os-wallpapers.spec b/build/backgrounds/ublue-os-wallpapers.spec index 4d18e1d..1e01b2c 100644 --- a/build/backgrounds/ublue-os-wallpapers.spec +++ b/build/backgrounds/ublue-os-wallpapers.spec @@ -20,7 +20,8 @@ Collection of wallpapers for the Universal Blue operating systems mkdir -p -m0755 \ %{buildroot}%{_datadir}/backgrounds/%{VENDOR} \ %{buildroot}/tmp \ - %{buildroot}%{_datadir}/gnome-background-properties + %{buildroot}%{_datadir}/gnome-background-properties \ + %{buildroot}%{_datadir}/wallpapers/${VENDOR} tar xzf %{SOURCE0} -C %{buildroot}/tmp --directory . --strip-components=1 mv %{buildroot}/tmp/src/* %{buildroot}%{_datadir}/backgrounds/%{VENDOR} mv %{buildroot}/tmp/xml/* %{buildroot}%{_datadir}/gnome-background-properties @@ -35,6 +36,7 @@ rm -rf %{buildroot}/tmp %exclude %{_datadir}/background/%{VENDOR}/LICENSE %post +mkdir -p %{_datadir}/wallpapers/${VENDOR} ln -sf %{_datadir}/backgrounds/%{VENDOR} %{_datadir}/wallpapers/%{VENDOR} %changelog