diff options
author | David P <megver83@parabola.nu> | 2021-08-14 19:59:43 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2021-08-14 20:02:12 -0400 |
commit | 3cb2f96bb185feb0804ee2920b7331f21d35e97e (patch) | |
tree | 5dbfbf5dc5ee71f763c72ea42b4bf4d4f2de44d6 /configs/lxde-openrc/airootfs/root/.language.sh | |
parent | 845a476957a00953445e2c7bbc1914e6700721c3 (diff) |
move non-archiso configs to parabolaiso-configs.git
other changes:
* mkparabolaiso: set image_name_$arch variables at the beginning of _build_buildmode_bootstrap()
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/lxde-openrc/airootfs/root/.language.sh')
-rwxr-xr-x | configs/lxde-openrc/airootfs/root/.language.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/configs/lxde-openrc/airootfs/root/.language.sh b/configs/lxde-openrc/airootfs/root/.language.sh deleted file mode 100755 index cc4558f..0000000 --- a/configs/lxde-openrc/airootfs/root/.language.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -#Comprobe if language was selected -code=$(grep LANG= ~/.codecheck | tail --bytes 2) -if [ "$code" = "0" ]; then - lang=$(dialog --stdout --backtitle "System language selection" --menu "Choose your language:" 15 40 10 \ - "en_US.UTF-8" "English" \ - "gl_ES.UTF-8" "Galego" \ - "es_ES.UTF-8" "Spanish" \ - "pt_BR.UTF-8" "Brazilian Portuguese" \ - "pl_PL.UTF-8" "Polish" \ - "it_IT.UTF-8" "Italian" \ - "fr_FR.UTF-8" "French" \ - "eo" "Esperanto") - - #Copy locale in locale.conf - [ -z "$lang" ] || echo "LANG=$lang" > /etc/locale.conf - - #Put a new line confirm that language was selected - sed -i '/LANG=./d' ~/.codecheck - echo "LANG=1" >> ~/.codecheck - - #Copy scripts to install in that language - case ${lang/_*/} in - en|gl|es|pt) cp -a ~/.scriptsInstallation/language/"${lang/_*/}"/* ~/.scriptsInstallation/ - cp ~/.scriptsInstallation/install.sh ~/ - ;; - *) cp -a ~/.scriptsInstallation/language/en/* ~/.scriptsInstallation/ - cp ~/.scriptsInstallation/install.sh ~/ - ;; - esac - - #Clear the dialog menu - clear -fi |