nixpkgs/pkgs/data/misc/fedora-backgrounds/f35-fix-xfce-path.patch
2023-05-01 11:48:01 +08:00

27 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;