aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2021-01-31 22:28:11 +0100
committerManuel Hiebel <leuhmanu@mageia.org>2021-01-31 22:28:11 +0100
commita81f3ae49b8b75e858f6d2cfa39a7237d725f8aa (patch)
treeb9c6abf5487561480887d70ba66ba0c8caf767cc
parent9353e9e13cb4fbc730a85db3d785cf47b3bd37b1 (diff)
downloadwww-a81f3ae49b8b75e858f6d2cfa39a7237d725f8aa.tar
www-a81f3ae49b8b75e858f6d2cfa39a7237d725f8aa.tar.gz
www-a81f3ae49b8b75e858f6d2cfa39a7237d725f8aa.tar.bz2
www-a81f3ae49b8b75e858f6d2cfa39a7237d725f8aa.tar.xz
www-a81f3ae49b8b75e858f6d2cfa39a7237d725f8aa.zip
Create create_new_release_link.sh
should be something like written in https://wiki.mageia.org/en/Managing_the_website#Manage_download_web_page_for_new_release_.28cauldron.29
-rwxr-xr-xtools/create_new_release_link.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/create_new_release_link.sh b/tools/create_new_release_link.sh
new file mode 100755
index 000000000..841666362
--- /dev/null
+++ b/tools/create_new_release_link.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+# de,fr,uk,etc to en/ simlink
+# inspired by move_i1n8n_release.sh
+
+dir_to_to_create=8
+
+for directory in ./langs/*
+do
+ # in each language directory except source
+ if [ -d "$directory/" ] && [ $directory != "./langs/en" ]; then
+ lang=$(basename $directory)
+ cd $lang
+ ln -s ../en/$dir_to_to_create $dir_to_to_create
+ cd ../
+ fi
+done