Merge pull request #73549 from Flakebi/numix-icon-theme

numix-icon-theme-circle: Fix dangling symlinks
This commit is contained in:
José Romildo Malaquias 2019-11-19 09:14:49 -03:00 committed by GitHub
commit 62d0993e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
for panel in $out/share/icons/*/*/panel; do
ln -sf $(realpath ${numix-icon-theme}/share/icons/Numix/16/$(readlink $panel)) $panel
done
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done

View File

@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
for panel in $out/share/icons/*/*/panel; do
ln -sf $(realpath ${numix-icon-theme}/share/icons/Numix/16/$(readlink $panel)) $panel
done
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done