Files
nixpkgs/pkgs/by-name/ev/everforest-gtk-theme/fix-install-script.patch

35 lines
1.5 KiB
Diff

From f9be45b024e29efa6082cdfe6f47ca6b1110f20a Mon Sep 17 00:00:00 2001
From: poz <poz@poz.pet>
Date: Fri, 9 Jan 2026 03:25:01 +0100
Subject: [PATCH] fix install script
---
themes/install.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/themes/install.sh b/themes/install.sh
index 1dc573f1..b1657b62 100755
--- a/themes/install.sh
+++ b/themes/install.sh
@@ -130,6 +130,7 @@ install() {
ln -s assets/no-events.svg no-events.svg
ln -s assets/process-working.svg process-working.svg
ln -s assets/no-notifications.svg no-notifications.svg
+ cd - > /dev/null
# GTK2 Themes
mkdir -p "${THEME_DIR}/gtk-2.0"
@@ -166,7 +167,11 @@ install() {
cp -r "${SRC_DIR}/main/metacity-1/metacity-theme-3${window}${color}.xml" "${THEME_DIR}/metacity-1/metacity-theme-3.xml"
cp -r "${SRC_DIR}/assets/metacity-1/assets${window}" "${THEME_DIR}/metacity-1/assets"
cp -r "${SRC_DIR}/assets/metacity-1/thumbnail${ELSE_DARK:-}.png" "${THEME_DIR}/metacity-1/thumbnail.png"
- cd "${THEME_DIR}/metacity-1" && ln -s metacity-theme-3.xml metacity-theme-1.xml && ln -s metacity-theme-3.xml metacity-theme-2.xml
+
+ cd "${THEME_DIR}/metacity-1"
+ ln -s metacity-theme-3.xml metacity-theme-1.xml
+ ln -s metacity-theme-3.xml metacity-theme-2.xml
+ cd - > /dev/null
# XFWM4 Themes
mkdir -p "${THEME_DIR}/xfwm4"