File: python3-docutils.postinst

package info (click to toggle)
python-docutils 0.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,108 kB
  • ctags: 7,367
  • sloc: python: 41,778; lisp: 8,644; sh: 164; makefile: 148; xml: 34
file content (13 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (4)
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 20
	done
fi

#DEBHELPER#