From 3f712ee67d304fb23185b03542f32fbf563bcc22 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Sun, 21 Jan 2024 00:26:04 +0100 Subject: [PATCH] qemush : suppression de la fonction depcheck car inutile --- README.md | 2 -- bin/qemush | 14 -------------- 2 files changed, 16 deletions(-) diff --git a/README.md b/README.md index ed48f7a..9f94919 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bin/qemush b/bin/qemush index 93488a4..b99160e 100755 --- a/bin/qemush +++ b/bin/qemush @@ -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