Commit 816d9027 authored by JosephK's avatar JosephK
Browse files

Redirections scriptées

parent 22673751
Pipeline #18447 failed with stage
in 1 minute
......@@ -3,4 +3,38 @@
SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname $SCRIPT`
cd $SCRIPTPATH && mkdir _book/installation-de-lutim && echo '<html><head><meta http-equiv="refresh" content="0; URL=../fr/cultiver-son-jardin/lutim.html"></head><body></body></html>' > _book/installation-de-lutim/index.html
\ No newline at end of file
declare -A pages=(
['nextcloud']="installation-de-nextcloud"
['wallabag']="installation-de-wallabag"
['searx']="installation-de-searx"
['zerobin']="installation-de-zerobin"
['kanboard']="installation-de-kanboard"
['bicbucstriim']="installation-d-un-serveur-opds"
['umap']="installation-de-umap"
['framadate']="installation-de-framadate"
['lufi']="installation-de-lufi"
['framaforms']="installation-de-framaforms"
['gitlab']="installation-de-gitlab-et-mattermost"
['lstu']="installation-de-lstu"
['sympa']="installation-de-sympa"
['framaestro']="installation-de-framaestro"
['scrumblr']="installation-de-scrumblr"
['wisemapping']="installation-de-wisemapping"
['minetest']="installation-de-minetest"
['ttrss']="installation-de-tinytinyrss"
['turtl']="installation-de-turtl"
['etherpad']="installation-detherpad"
['mastodon']="installation-de-mastodon"
['lutim']="installation-de-lutim"
['jitsi-meet']="installation-de-jitsi-meet"
['svg-edit']="installation-de-svg-edit"
['loomio']="installation-de-loomio"
['shaarli']="installation-de-shaarli"
)
cd $SCRIPTPATH
for k in "${!pages[@]}"; do
mkdir _book/${pages[$k]}
echo '<html><head><meta http-equiv="refresh" content="0; URL=../fr/cultiver-son-jardin/'$k'.html"></head><body></body></html>' > _book/${pages[$k]}/index.html
done
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