File: freecad-python3.postinst

package info (click to toggle)
freecad 1.0.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464,324 kB
  • sloc: cpp: 931,296; python: 587,869; xml: 103,037; ansic: 9,568; fortran: 3,878; sh: 715; lex: 699; javascript: 311; yacc: 271; makefile: 121
file content (11 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

update-alternatives --install /usr/bin/freecad freecad /usr/lib/freecad/bin/freecad-python3 30 \
                    --slave /usr/bin/freecadcmd freecadcmd /usr/lib/freecad/bin/freecadcmd-python3 \
                    --slave /usr/lib/freecad/lib freecadlib /usr/lib/freecad-python3/lib

#DEBHELPER#

exit 0