1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 10:11:32 +01:00

Fixes dialog bug

This commit is contained in:
kprkpr
2016-06-08 23:52:06 +02:00
parent ed8a3fc22d
commit 7c69d3bcd1
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ source translations.sh
trap '' INT
#No black screensaver
setterm -blank 0 -powerdown 0 -powersave off
#Fix para caracteres de dialog, ñ o tildes
export NCURSES_NO_UTF8_ACS=1
function pause {
echo "$(T "Pause function")"

View File

@@ -215,7 +215,7 @@ case $tipoinstall in
packages=""
##Utilidades varias
opt=`dialog --stdout --checklist "Utilidades varias" 0 0 8 1 "Dropbox" off 2 "MEGA" off 3 "Visor de correo Evolution" off 4 "Grabador de discos (k3b)" off 5 "Java (jre8)" off 6 "Wine ('Emulador' de programas de Windows)" off`
opt=`dialog --stdout --checklist "Utilidades varias" 0 0 8 1 "Dropbox" off 2 "MEGA" off 3 "Visor de correo Evolution" off 4 "Grabador de discos (k3b)" off 5 "Java (jre8)" off 6 "Wine ('Emulador' de programas de Windows)" off 7 "BleachBit (Limpiador de disco duro)" off`
case $opt in
*1*)
@@ -232,6 +232,8 @@ case $tipoinstall in
packages="$packages wine-staging wine_gecko winetricks"
inswine=1
;;&
*7*)
packages="$packages bleachbit";;&
esac
pacman -S $packages --noconfirm
if [[ $inswine = 1 ]];then