* Adobe Reader: install .desktop file in the right place.
svn path=/nixpkgs/trunk/; revision=33297
This commit is contained in:
parent
34fcba81be
commit
73ce1dd4bb
1 changed files with 9 additions and 0 deletions
|
@ -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 a new issue