Différences entre les versions de « Auto-éditer un wikilivre/Annexer (Version internationalisée)/install annex.sh »

m
Mise à jour du code
(Mise à jour des codes)
m (Mise à jour du code)
 
#P Creation date : 2020/06/10 by GC
#P Modification date : 2020/06/12 by GC
#P Modification date : 2021/0405/2519 by GC
#P Last test date : 2021/0405/2019 by GC
#P This program installs the directory structure for the annex program of wikibooks.
#P
#O Version
VERSION=210425210519
if [ "$1" = "--v" ]; then echo "Version of install_annex.sh $VERSION"; exit 0; fi
 
echo -n "The current directory to create $Workdir sub directories = "; pwd
mkdir -p datas resources resources/{lang,lang/po,lang/man,man,man/de,man/en,man/fr}
mkdir -p bin books lib lib/src resources sbin share src temp vars man man/{man1,fr,fr/man1,fr.UTF8,fr.UTF8/man1,es,es/man1}
cd share
echo "Share is the current directory to create sub share directories."; pwd
echo "See also users_install_annex.sh, best command for user"
#O Put install dirs to /vars/installdir.var
rm $Workdir/vars/installdir.var
echo "Installdir=$Installdir" > $Workdir/vars/installdir.var
echo "Workdir=$Workdir" >> $Workdir/vars/installdir.var
echo; echo "Content of file $Workdir/vars/installdir.var"
cat $Workdir/vars/installdir.var
#O End 'install_annex.sh'
exit 0
</syntaxhighlight>
{{Autocat}}