File: python-docutils.postinst

package info (click to toggle)
python-docutils 0.14%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,976 kB
  • sloc: python: 44,718; lisp: 14,476; xml: 1,782; sh: 167; makefile: 150
file content (12 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

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

#DEBHELPER#