#!perl # Install script for LatexModePlugin # # Copyright (C) 2004 Crawford Currie http://c-dot.co.uk # # NOTE TO THE DEVELOPER: THIS FILE IS GENERATED AUTOMATICALLY # BY THE BUILD PROCESS DO NOT EDIT IT - IT WILL BE OVERWRITTEN # use strict; require 5.008; use Cwd; use File::Temp; use File::Copy; use File::Path; =pod ---+ LatexModePlugin_Installer.pl This is the installer script. The basic function of this script is to locate an archive and unpack it. It will also check the dependencies listed in DEPENDENCIES and assist the user in installing any that are missing. The script also automatically maintains the revision histories of any files that are being installed by the package but already have ,v files on disc (indicating that they are revision controlled). The script also functions as an *uninstaller* by passing the parameter =uninstall= on the command-line. Note that uninstallation does *not* revert the history of any topic changed during the installation. The script allows the definition of PREINSTALL and POSTINSTALL scripts. These scripts can be used for example to modify the configuration during installation, using the functions described below. Refer to the documentation of =configure= =cut # This is all done in package TWiki so that reading LocalSite.cfg and TWiki.cfg # will put the config vars into the right namespace. package TWiki; # The root of package URLs my $PACKAGES_URL = "http://twiki.org/p/pub/Plugins/"; # Extract MANIFEST and DEPENDENCIES from the __DATA__ undef $/; my @DATA = split(/<<<< (.*?) >>>>\s*\n/, ); shift @DATA; # remove empty first element unless (do 'tools/extender.pl') { die <>>> lib/TWiki/Plugins/LatexModePlugin.pm,0644, lib/TWiki/Plugins/LatexModePlugin/Init.pm,0644, lib/TWiki/Plugins/LatexModePlugin/Render.pm,0644, lib/TWiki/Plugins/LatexModePlugin/CrossRef.pm,0644, pub/TWiki/LatexModePlugin/expl-v1.4.png,0644, pub/TWiki/LatexModePlugin/tikz-expl.png,0644, pub/TWiki/LatexModePlugin/rot-expl.png,0644, data/TWiki/LatexModePlugin.txt,0644, data/TWiki/LatexSymbols.txt,0644, data/TWiki/LatexSymbols2.txt,0644, data/TWiki/LatexSymbols3.txt,0644, data/TWiki/LatexSymbols4.txt,0644, data/TWiki/LatexSymbols5.txt,0644, data/TWiki/LatexIntro.txt,0644, <<<< DEPENDENCIES >>>> Image::Info,>0,1,cpan,Required File::Basename,>0,1,cpan,Required File::Copy,>0,1,cpan,Required File::Temp,>0,1,cpan,Required Digest::MD5,>0,1,cpan,Required