pwsafe: substitute paths in .desktop file

Upstream uses an absolute path in the .desktop file to point to the
icon.
This commit is contained in:
Ryan Hendrickson
2022-01-12 21:54:53 -05:00
committed by GitHub
parent 38ec35cef2
commit 4d1de6bdac

View File

@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
done
# Fix hard coded paths.
for f in $(grep -Rl /usr/share/ src) ; do
for f in $(grep -Rl /usr/share/ src install/desktop) ; do
substituteInPlace $f --replace /usr/share/ $out/share/
done