From 1d66002c1f5fc7c7eeecb3e1e150ebac26450a88 Mon Sep 17 00:00:00 2001 From: Kevin Puertas Date: Tue, 29 Aug 2017 17:16:11 +0200 Subject: [PATCH] Fix bug with sudo command --- README.md | 2 +- installer/installer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6674ec..821ea9d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ También una imagen ISO reciente de ArchLinux. Para iniciarlo, una vez metido el disco de Arch y con una conexión a internet solo habría que ejecutar lo siguiente: ``` -wget https://gitlab.com/JKANetwork/JKArch/raw/master/installer/installer.sh && chmod +x installer.sh && ./installer.sh +wget https://goo.gl/gmfrx7 -O installer.sh && chmod +x installer.sh && ./installer.sh ``` Con ello, se iniciará la instalación del sistema operativo permitiendote elegir donde y cómo instalarlo diff --git a/installer/installer.sh b/installer/installer.sh index e53aa0c..c24c7e2 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -72,7 +72,7 @@ function pacmanerror { function execl { local command if [[ $1 != "chroot" && $1 != "chuser" ]];then #If it runs normally - $1 + "$*" else #There is a chroot/chuser word and we have to delete it, and then use command=`echo $command | cut -d" " -f2-` if [[ $1 = "chroot" ]];then #If it runs in the chroot