File: python3-docutils.postinst

package info (click to toggle)
python-docutils 0.16%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,864 kB
  • sloc: python: 45,783; lisp: 14,475; xml: 1,785; javascript: 1,032; sh: 140; makefile: 111
file content (13 lines) | stat: -rw-r--r-- 195 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = configure ]
then
	for exe in /usr/share/docutils/scripts/python3/*
	do
		update-alternatives --install /usr/bin/${exe##*/} ${exe##*/} $exe 30
	done
fi

#DEBHELPER#