Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
framacloud
Commits
816d9027
Commit
816d9027
authored
Jul 05, 2017
by
JosephK
Browse files
Redirections scriptées
parent
22673751
Pipeline
#18447
failed with stage
in 1 minute
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
redirections.sh
View file @
816d9027
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment