mojave-gtk-theme: replace duplicate files with hardlinks

This commit is contained in:
José Romildo 2022-01-13 09:59:55 -03:00
parent 0540e9f60e
commit 1a808ce384

View file

@ -76,9 +76,15 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
name= ./install.sh --theme all --dest $out/share/themes
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
jdupes -l -r $out/share
# Replace duplicate files with hardlinks to the first file in each
# set of duplicates, reducing the installed size in about 53%
jdupes -L -r $out/share
runHook postInstall
'';