1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-17 10:41:32 +01:00
This commit is contained in:
2017-02-12 23:45:41 +01:00
parent b08caba055
commit 8265d95041

View File

@@ -9,7 +9,6 @@
## $5 -> Is a "various-sentence command"? (1 -> First / Not lastest, 2 -> Last ) ## $5 -> Is a "various-sentence command"? (1 -> First / Not lastest, 2 -> Last )
function comm { function comm {
local command local command
command=$4
# First complete the command, if necessary # First complete the command, if necessary
if [[ $3 == "chroot" ]];then if [[ $3 == "chroot" ]];then
command="chroot /mnt /bin/bash -c \"$4\"" command="chroot /mnt /bin/bash -c \"$4\""
@@ -30,6 +29,7 @@ function comm {
fi fi
#Run command. (Command is $4) #Run command. (Command is $4)
$command $command
echo $command
# Update multiSentence var # Update multiSentence var
if [[ $5 == "1" ]];then if [[ $5 == "1" ]];then