#!perl # # Install script for SkillsPlugin # # Copyright (C) 2004-2007 TWiki Contributors. All Rights Reserved. # TWiki Contributors are listed in the AUTHORS file in the root of # this distribution. NOTE: Please extend that file, not this notice. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. For # more details read LICENSE in the root of this distribution. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # As per the GPL, removal of this notice is prohibited. # # Author: Crawford Currie http://wikiring.com # # 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; =pod ---+ SkillsPlugin_installer 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 <>>> data/TWiki/SkillsAdminIntroduction.txt,0664,UI Topic data/TWiki/SkillsAdvancedSearch.txt,0664,UI Topic data/TWiki/SkillsPlugin.txt,0664,Plugin Topic data/TWiki/SkillsBrowseAll.txt,0664,UI Topic data/TWiki/SkillsCreateNewCategory.txt,0664,UI Topic data/TWiki/SkillsCreateNewSkill.txt,0664,UI Topic data/TWiki/SkillsDeleteCategory.txt,0664,UI Topic data/TWiki/SkillsDeleteSkill.txt,0664,UI Topic data/TWiki/SkillsDisplayOnHomePage.txt,0664,Supplemental Documentation data/TWiki/SkillsEditMySkills.txt,0664,UI Topic data/TWiki/SkillsMoveSkill.txt,0664,UI Topic data/TWiki/SkillsRenameCategory.txt,0664,UI Topic data/TWiki/SkillsRenameSkill.txt,0664,UI Topic data/TWiki/SkillsSearch.txt,0664,UI Topic lib/TWiki/Plugins/SkillsPlugin.pm,0644,Plugin Module lib/TWiki/Plugins/SkillsPlugin/Category.pm,0644,Plugin Module lib/TWiki/Plugins/SkillsPlugin/Skill.pm,0644,Plugin Module lib/TWiki/Plugins/SkillsPlugin/SkillsStore.pm,0644,Plugin Module lib/TWiki/Plugins/SkillsPlugin/UserSkill.pm,0644,Plugin Module lib/TWiki/Plugins/SkillsPlugin/UserSkills.pm,0644,Plugin Module pub/TWiki/SkillsPlugin/skills_screenshot_full.png,0644,Screenshot pub/TWiki/SkillsPlugin/skills_screenshot_search.png,0644,Screenshot pub/TWiki/SkillsPlugin/skills_screenshot_thumb.png,0644,Screenshot pub/TWiki/SkillsPlugin/style.css,0644,Default Style Sheet pub/TWiki/SkillsPlugin/main.js,0644,JS File templates/skillsedit.tmpl,0644,Add/Edit form template templates/skillssearchform.tmpl,0644,Search form template templates/skills.tmpl,0644,Base template templates/skillsuserview.tmpl,0644,User Skills template templates/skillsuserviewrepeated.tmpl,0644,User Skills Repeated template templates/skillssearchresults.tmpl,0644,Search results template templates/skillssearchresultsrepeated.tmpl,0644,Search Results Repeated template templates/skillsbrowseview.tmpl,0644,Browse Skills template templates/skillsbrowseviewrepeated.tmpl,0644,Browse Skills Repeated template templates/oopsgeneric.skills.tmpl,0644,Skills Comment template <<<< DEPENDENCIES >>>>