File: binfmtc.postinst

package info (click to toggle)
binfmtc 0.17-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 800 kB
  • sloc: sh: 1,116; ansic: 891; cpp: 81; makefile: 81; asm: 48; java: 5; fortran: 3
file content (14 lines) | stat: -rw-r--r-- 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
set -e

#import binfmt.
if [ configure = "$1" ] && [ -x "$(command -v update-binfmts)" ]; then
    update-binfmts --import ccompile
    update-binfmts --import cxxcompile
    update-binfmts --import asmassembly
    update-binfmts --import gcjcompile
    update-binfmts --import fcompile
    update-binfmts --import f95compile
fi

#DEBHELPER#