depot/third_party/nixpkgs/pkgs/data/misc/fedora-backgrounds/f35-fix-xfce-path.patch
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

26 lines
950 B
Diff

diff --git a/default/Makefile b/default/Makefile
index 2041ce2..f31a0f2 100644
--- a/default/Makefile
+++ b/default/Makefile
@@ -1,7 +1,7 @@
WP_NAME=f35
WP_BIGNAME=F35
WP_DIR=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME)
-WP_DIR_LN=/usr/share/backgrounds/$(WP_NAME)
+WP_DIR_LN=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME)
GNOME_BG_DIR=$(DESTDIR)/usr/share/gnome-background-properties
KDE_BG_DIR=$(DESTDIR)/usr/share/wallpapers
MATE_BG_DIR=$(DESTDIR)/usr/share/mate-background-properties
diff --git a/extras/Makefile b/extras/Makefile
index 95e92e4..4d43a22 100644
--- a/extras/Makefile
+++ b/extras/Makefile
@@ -45,7 +45,7 @@ install:
$(LN_S) ../../../../backgrounds/f35/extras/$${theme}.png \
$(KDE_BG_DIR)/F35_$${theme}/contents/images/$${res}.png ; \
done; \
- $(LN_S) ../backgrounds/f35/extras/$${theme}.png \
+ $(LN_S) ../../backgrounds/f35/extras/$${theme}.png \
$(XFCE_BG_DIR)/f35-$${theme}.png ;\
done;