mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
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:
parent
38ec35cef2
commit
4d1de6bdac
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Fix hard coded paths.
|
# 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/
|
substituteInPlace $f --replace /usr/share/ $out/share/
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user