File: python-gtk2-doc.postinst

package info (click to toggle)
pygtk 2.24.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 26,760 kB
  • ctags: 8,260
  • sloc: xml: 182,079; sh: 10,297; python: 10,161; ansic: 2,861; makefile: 1,358
file content (11 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

olddir=/usr/share/doc/python-gtk2-doc/html
newdir=../../gtk-doc/html/pygtk

if [ -d $olddir ] && ! [ -L $olddir ]; then
	rmdir --ignore-fail-on-non-empty $olddir && ln -s $newdir $olddir
fi

#DEBHELPER#