Commit a38c4c55 authored by David Coutadeur's avatar David Coutadeur
Browse files

fix plugins files installation (#5)

parent be747dbc
......@@ -33,7 +33,7 @@ copy_dir()
write_classcache()
{
# TODO: write class.cache
:
# Example:
#<?php
# $class_mapping= array(
......@@ -56,7 +56,7 @@ write_classcache()
write_i18n()
{
# TODO: write function
:
# # hash that will contain the result of the "get_i18n" function
# my %get_i18n_result = get_i18n ($locale_dir);
#
......@@ -91,17 +91,17 @@ write_i18n()
printf "%s\n" "Installing plugin: ${PLUGIN}"
copy_dir "${PLUGINS_PATH}/addons" "${FD_HOME_PATH}/plugins/addons"
copy_dir "${PLUGINS_PATH}/admin" "${FD_HOME_PATH}/plugins/admin"
copy_dir "${PLUGINS_PATH}/config" "${FD_HOME_PATH}/plugins/config"
copy_dir "${PLUGINS_PATH}/personal" "${FD_HOME_PATH}/plugins/personal"
copy_dir "${PLUGINS_PATH}/html" "${FD_HOME_PATH}/html"
copy_dir "${PLUGINS_PATH}/ihtml" "${FD_HOME_PATH}/ihtml"
copy_dir "${PLUGINS_PATH}/include" "${FD_HOME_PATH}/include"
copy_dir "${PLUGINS_PATH}/contrib/openldap" "${FD_HOME_PATH}/contrib/openldap"
copy_dir "${PLUGINS_PATH}/contrib/etc" "${FD_ETC_PATH}/${PLUGIN}"
copy_dir "${PLUGINS_PATH}/contrib/doc" "${FD_HOME_PATH}/contrib/doc"
copy_dir "${PLUGINS_PATH}/locale" "${FD_HOME_PATH}/locale/plugins/${PLUGIN}/locale"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/addons" "${FD_HOME_PATH}/plugins/addons"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/admin" "${FD_HOME_PATH}/plugins/admin"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/config" "${FD_HOME_PATH}/plugins/config"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/personal" "${FD_HOME_PATH}/plugins/personal"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/html" "${FD_HOME_PATH}/html"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/ihtml" "${FD_HOME_PATH}/ihtml"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/include" "${FD_HOME_PATH}/include"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/contrib/openldap" "${FD_HOME_PATH}/contrib/openldap"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/contrib/etc" "${FD_ETC_PATH}/${PLUGIN}"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/contrib/doc" "${FD_HOME_PATH}/contrib/doc"
copy_dir "${PLUGINS_PATH}/${PLUGIN}/locale" "${FD_HOME_PATH}/locale/plugins/${PLUGIN}/locale"
write_classcache
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment