Make virtualbox icons available

This commit is contained in:
Eduard Carreras 2012-10-16 19:35:59 +02:00
parent a13346961f
commit 28181c15e8

View File

@ -110,6 +110,12 @@ in stdenv.mkDerivation {
mkdir -p $out/share/applications
sed -i -e "s|Icon=VBox|Icon=$libexec/VBox.png|" $libexec/virtualbox.desktop
ln -sfv $libexec/virtualbox.desktop $out/share/applications
# Icons
mkdir -p $out/share/icons/hicolor
for size in `ls -1 $libexec/icons`; do
mkdir -p $out/share/icons/hicolor/$size/apps
cp $libexec/icons/$size/*.png $out/share/icons/hicolor/$size/apps
done
'';
meta = {