Corrected path to the .desktop files. Why do I keep making these silly mistakes?

svn path=/nixpkgs/trunk/; revision=17846
This commit is contained in:
Sander van der Burg 2009-10-16 08:56:35 +00:00
parent 7d52bceffb
commit 3c00ca8da0

View File

@ -79,7 +79,7 @@ installPhase() {
# Apply a minor correction to the *.desktop files in order to correctly address the icons
# The openoffice- prefix should be removed from the icon identifiers
for appl in *.desktop
for appl in $out/share/applications/*.desktop
do
sed -i '/Icon/d' $appl
echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl