qemush : suppression de la fonction depcheck car inutile

This commit is contained in:
Ahurac 2024-01-21 00:26:04 +01:00
parent 934cf7c969
commit 3f712ee67d
2 changed files with 0 additions and 16 deletions

View file

@ -54,8 +54,6 @@ scripts
- `pathof` - see [Installation instructions](#installation-instructions)
- 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
### QEMU user and group

View file

@ -136,20 +136,6 @@ public_do() {
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"
shift