|
@ -68,12 +68,16 @@ function error_not_install() |
|
|
|
|
|
|
|
|
function executer() |
|
|
function executer() |
|
|
{ |
|
|
{ |
|
|
|
|
|
wheel true & |
|
|
|
|
|
WPID=$! |
|
|
if [ -x "$(command -v $1)" ] |
|
|
if [ -x "$(command -v $1)" ] |
|
|
then |
|
|
then |
|
|
"$@" |
|
|
"$@" |
|
|
else |
|
|
else |
|
|
error_not_install $1 |
|
|
error_not_install $1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
disown $WPID |
|
|
|
|
|
kill $WPID &> /dev/null |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function complete_install(){ |
|
|
function complete_install(){ |
|
|