« Auto-éditer un wikilivre/Annexer (Version internationalisée)/users install annex.sh » : différence entre les versions

Contenu supprimé Contenu ajouté
m Mise à jour du code
Corrections et mise à jour
Ligne 12 :
#P Modification date : 2021/04/25 by GC
#P Last test date : 2021/04/19 by Clara
#P Update and tests : 2021/07/16 by Clara
#P This program install or re-install the directory structure for the annex program of wikibooks.
#P
Ligne 19 ⟶ 20 :
#O Version
VERSION=210519210716
if [ "$1" = "--v" ]; then echo "Version of users_install_annex.sh "$VERSION; exit 0; fi
 
Ligne 178 ⟶ 179 :
echo " de documentation dans $1/share/doc"
echo " de manuels dans $1/share/man"
echo "Utiliser cette version imprimable : "
echo " https://fr.wikibooks.org/wiki/Auto-éditer_un_wikilivre/Annexer_(Version_internationalisée)/Version_imprimable"
echo " pour copier les codes bash
echo; echo "Finalement rééxécuter cette commande $1/sbin/users_install_annex.sh"
fi
if [ "$n" = "0" ] && [ $1 = "Add_appendix" ] || [ "$1" = "/usr/local" ]
then
echo; echo "First param = $1"
Ligne 194 ⟶ 198 :
echo " documentation in Add_appendix/share/doc"
echo " manuals in Add_appendix/share/man"
echo "Use this printable version : "
echo " https://fr.wikibooks.org/wiki/Auto-éditer_un_wikilivre/Annexer_(Version_internationalisée)/Version_imprimable"
echo " to copy the bash code"
echo; echo "Finaly reexecute this command Add_appendix/sbin/users_install_annex.sh"
if [ "$1" = "/usr/local" ]; then echo "copy all files and directories to /usr/local :"; echo " sudo cp -R Add_appendix/* $1/.";fi