Merge #145858: wrapFirefox: fix icon linking for Thunderbird

This commit is contained in:
Vladimír Čunát 2021-11-15 16:52:22 +01:00
commit a65843afac
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -290,7 +290,7 @@ let
else
for res in 16 32 48 64 128; do
mkdir -p "$out/share/icons/hicolor/''${res}x''${res}/apps"
icon=( "${browser}/lib/"*"/browser/chrome/icons/default/default''${res}.png" )
icon=$( find "${browser}/lib/" -name "default''${res}.png" )
if [ -e "$icon" ]; then ln -s "$icon" \
"$out/share/icons/hicolor/''${res}x''${res}/apps/${applicationName}.png"
fi