3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #157 from ecarreras/virtualbox-icons

Make virtualbox icons available
This commit is contained in:
Peter Simons 2012-10-23 10:42:28 -07:00
commit e5a68f8a67

View file

@ -112,6 +112,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
ln -s $libexec/icons/$size/*.png $out/share/icons/hicolor/$size/apps
done
'';
meta = {