File: postinst

package info (click to toggle)
php-fpdf 3%3A1.8.2.dfsg-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 772 kB
  • sloc: php: 3,238; makefile: 48; sh: 5
file content (9 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

if [ "$1" = configure ] && [ ! -L /usr/share/fpdf ] && dpkg --compare-versions "$2" lt-nl 1.53.dfsg-3; then
	rm -rf /usr/share/fpdf
	ln -s php/fpdf /usr/share/fpdf
fi

#DEBHELPER#