qemush : suppression de la fonction depcheck car inutile
This commit is contained in:
parent
934cf7c969
commit
3f712ee67d
2 changed files with 0 additions and 16 deletions
|
@ -54,8 +54,6 @@ scripts
|
||||||
- `pathof` - see [Installation instructions](#installation-instructions)
|
- `pathof` - see [Installation instructions](#installation-instructions)
|
||||||
- any text editor - used for builtin function to edit launching scripts
|
- any text editor - used for builtin function to edit launching scripts
|
||||||
|
|
||||||
You can run `qemush depcheck` to check if all dependencies are met.
|
|
||||||
|
|
||||||
## Installation instructions
|
## Installation instructions
|
||||||
|
|
||||||
### QEMU user and group
|
### QEMU user and group
|
||||||
|
|
14
bin/qemush
14
bin/qemush
|
@ -136,20 +136,6 @@ public_do() {
|
||||||
exec sh -c "$*"
|
exec sh -c "$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
bold_print() {
|
|
||||||
printf '\033['"${1}m${2}"'\033[0m: %s\n' "$3"
|
|
||||||
}
|
|
||||||
|
|
||||||
public_depcheck() {
|
|
||||||
for i in diskpath screen source-highlight ls rm cp chmod cat; do
|
|
||||||
if command -v "$i" > /dev/null; then
|
|
||||||
bold_print '1;32' OK "$i"
|
|
||||||
else
|
|
||||||
bold_print '1;31' KO "$i"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
function="$1"
|
function="$1"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue