File: build-help.pl

package info (click to toggle)
r-base 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 87,288 kB
  • sloc: ansic: 271,827; fortran: 99,804; makefile: 5,102; yacc: 5,065; sh: 4,968; tcl: 4,562; objc: 753; perl: 655; asm: 258; java: 31; sed: 9
file content (27 lines) | stat: -rw-r--r-- 1,168 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/perl -w
#
# Under Debian, R add-on packages (i.e. any of the r-cran-* packages) 
# used to call 'build-help.pl' in postinst and postrm:
#	    /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
#
# However, R changed upstream and html help indices are created on the fly
# when the user calls help.start() from within R. With that, the call above
# is no longer needed and has been phased out in most but not yet all of
# the postinst and postrm scripts.
#
# Moreover, starting with R 2.2.1-3, architecture-independent files are placed
# below /usr/share/R/ --- breaking the call above. 2.2.1-4 introduced a 
# symbolic link from /usr/share/R/share to /usr/lib/R/share which works
# on fresh installs but fails on upgrades from older versions of the R
# package as dpkg cannot replace an existing directory with a softlink.
#
# Hence the need for this empty script to provide a place holder until 
# all r-cran-*, r-omegahat-*, r-other-*, ... packages have been updated.
#
# Dirk Eddelbuettel <edd@debian.org>  06 Feb 2005  
#

use strict;

print STDERR "Ignoring deprecated call to build-help.pl from postinst or postrm script.\n";
exit 0;