mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
* Adobe Reader: install .desktop file in the right place.
svn path=/nixpkgs/trunk/; revision=33297
This commit is contained in:
parent
34fcba81be
commit
73ce1dd4bb
@ -26,3 +26,12 @@ substituteInPlace $out/Adobe/Reader*/bin/acroread \
|
||||
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/Adobe/Reader*/bin/acroread $out/bin/acroread
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
mv $out/Adobe/Reader9/Resource/Support/AdobeReader.desktop $out/share/applications/
|
||||
sed -i $out/share/applications/AdobeReader.desktop \
|
||||
-e "s|Icon=.*|Icon=$out/Adobe/Reader9/Resource/Icons/128x128/AdobeReader9.png|"
|
||||
|
||||
# Not sure if this works.
|
||||
mkdir -p $out/share/mimelnk/application
|
||||
mv $out/Adobe/Reader9/Resource/Support/vnd*.desktop $out/share/mimelnk/application
|
||||
|
Loading…
Reference in New Issue
Block a user