File: klayout.postinst

package info (click to toggle)
klayout 0.26.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 146,224 kB
  • sloc: cpp: 1,465,078; ruby: 35,220; xml: 19,003; python: 8,881; sh: 1,393; tcl: 210; perl: 107; makefile: 90; ansic: 42
file content (12 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

#DEBHELPER#

if which py3compile >/dev/null 2>&1; then
    py3compile /usr/lib/klayout/pymod
fi
if which pypy3compile >/dev/null 2>&1; then
    pypy3compile /usr/lib/klayout/pymod || true
fi