mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 09:41:31 +01:00
Fix bug with sudo command
This commit is contained in:
@@ -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:
|
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
|
Con ello, se iniciará la instalación del sistema operativo permitiendote elegir donde y cómo instalarlo
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ function pacmanerror {
|
|||||||
function execl {
|
function execl {
|
||||||
local command
|
local command
|
||||||
if [[ $1 != "chroot" && $1 != "chuser" ]];then #If it runs normally
|
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
|
else #There is a chroot/chuser word and we have to delete it, and then use
|
||||||
command=`echo $command | cut -d" " -f2-`
|
command=`echo $command | cut -d" " -f2-`
|
||||||
if [[ $1 = "chroot" ]];then #If it runs in the chroot
|
if [[ $1 = "chroot" ]];then #If it runs in the chroot
|
||||||
|
|||||||
Reference in New Issue
Block a user