File: libfltk1.1-dev.postinst

package info (click to toggle)
fltk1.1 1.1.10-30
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,672 kB
  • sloc: cpp: 76,654; ansic: 40,942; makefile: 1,703; sh: 438
file content (18 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -e
. /usr/share/debconf/confmodule

#DEBHELPER#

case "$1" in
    configure)
	db_get libfltk1.1-dev/header-links
	if [ "$RET" = "true" ]; then
	    ln=ln
	else
	    ln=:
	fi
	(cd /usr/include/FL
	 for H in *.H; do h=`basename $H .H`.h; rm -f $h && $ln -s $H $h; done)
	;;
esac