From a81f3ae49b8b75e858f6d2cfa39a7237d725f8aa Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Sun, 31 Jan 2021 22:28:11 +0100 Subject: 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 --- tools/create_new_release_link.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tools/create_new_release_link.sh (limited to 'tools') 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 -- cgit v1.2.1