From db54d468a1c8b7bd92ad8a4bd7ca71f0a117cb38 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 2 Apr 2023 18:57:10 +0200 Subject: [PATCH] tool: Only replace hex colors for svg icons --- tool/generate-neon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/generate-neon.sh b/tool/generate-neon.sh index e6c3bb3e..b5ae6cd5 100755 --- a/tool/generate-neon.sh +++ b/tool/generate-neon.sh @@ -35,7 +35,7 @@ function copy_nextcloud_app_svg() { echo "Can not find icon for $id in $path" exit 1 fi - sed -i "s/fill=\"[^\"]*\"/fill=\"$color\"/g" "$target" + sed -i "s/fill=\"#[^\"]*\"/fill=\"$color\"/g" "$target" } rm -rf /tmp/nextcloud-neon