diff --git a/base/mime-support/mime-support.conf b/base/mime-support/mime-support.conf index 9bef4791c..cd96572ca 100644 --- a/base/mime-support/mime-support.conf +++ b/base/mime-support/mime-support.conf @@ -14,8 +14,8 @@ makeopt= makeinstopt= -hook_add premake 5 "my_install" -my_install() +hook_add premake 5 "mime_install" +mime_install() { mkdir -p $root/usr/lib/mime/packages mkdir -p $root/usr/share/man/man1 $root/usr/share/man/man5 $root/usr/share/man/man8 @@ -30,24 +30,9 @@ install -m 755 update-mime $root$sbindir install -m 644 update-mime.man $root$mandir/man8/update-mime.8 install -m 755 run-mailcap $root$bindir install -m 644 run-mailcap.man $root$mandir/man1/run-mailcap.1 -#install -m 644 rfcs/* $root$docdirmime-support install -m 644 debian/README $root$docdir/mime-support/copyright install -m 755 debian-view $root/usr/lib/mime/ install -m 755 playaudio $root/usr/lib/mime/ install -m 755 playdsp $root/usr/lib/mime/ install -m 644 mailcap.entries $root/usr/lib/mime/packages/mime-support -install -m 644 mime.types $root$sysconfdir -install -m 644 mailcap $root/usr/lib/mime/ -install -m 644 mailcap.order $root$sysconfdir -install -m 644 mailcap.man $root$mandir/man5/mailcap.5 -install -m 644 mailcap.order.man $root$mandir/man5/mailcap.order.5 -install -m 755 update-mime $root$sbindir -install -m 644 update-mime.man $root$mandir/man8/update-mime.8 -install -m 755 run-mailcap $root$bindir -install -m 644 run-mailcap.man $root$mandir/man1/run-mailcap.1 -#install -m 644 rfcs/* $root$docdir/mime-support -install -m 644 debian/README $root$docdir/mime-support/copyright -install -m 755 playaudio $root/usr/lib/mime/ -install -m 755 playdsp $root/usr/lib/mime/ -install -m 644 mailcap.entries $root/usr/lib/mime/packages/mime-support }