]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - debian/rules
Link the default vym hicolor icon also for the mime type
[sven/vym.git] / debian / rules
index be5b725dc1039363713a628ec42bc92bca829fec..09b9c94913784f2d6790f43b9dde46e7e3acb36e 100755 (executable)
@@ -15,8 +15,9 @@ override_dh_auto_configure:
 
 override_dh_auto_install:
        dh_auto_install --destdir=debian/vym/
-       # remove wrongly placed manpage
-       rm debian/vym/usr/share/doc/vym/doc/vym.1.gz
+       # create a link to use the vym icon in the hicolor default theme
+       # for .vym files matched by the mime type
+       ln -s ../apps/vym.png debian/vym/usr/share/icons/hicolor/48x48/mimetypes/application-x-vym.png
 
 # prevent compression of pdf documentation
 override_dh_compress: