File: install_mime_types.sh

package info (click to toggle)
mrtrix3 3.0~rc3+git135-g2b8e7d0c2-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 34,248 kB
  • sloc: cpp: 117,101; python: 6,472; sh: 638; makefile: 226; xml: 39; ansic: 20
file content (12 lines) | stat: -rwxr-xr-x 379 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

for s in 16 32 48 64 128; do
  for t in mrtrix mrtrix-gz nifti nifti-gz mgh mgz analyze; do #TODO add mrtrix-tracks
    xdg-icon-resource install --context apps --size $s icons/desktop/${s}x${s}/mrtrix.png application-x-${t}
  done
done

xdg-mime install mrtrix-mime.xml
xdg-desktop-menu install mrtrix-mrview.desktop
xdg-desktop-icon install mrtrix-mrview.desktop