From 4ea7a514f594c0310fff8e427a64be3a4efbfbe0 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Tue, 8 Aug 2023 08:42:33 +0200 Subject: [PATCH] =?utf8?q?Pr=C3=B3ba=20uruchomienia=20opcji=20apropos=20-?= =?utf8?q?=20polecenie=20apropos=20nie=20wyst=C4=99puje=20domy=C5=9Blnie?= =?utf8?q?=20na=20obrazach.=20Nale=C5=BCy=20zmodyfikowa=C4=87=20skrypty=20?= =?utf8?q?startowe=20kontener=C3=B3w=20-=20skrypt=20odbioru=20CLI=20-=20id?= =?utf8?q?le-clis?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- idle-clis | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/idle-clis b/idle-clis index 9f97737..562ad48 100755 --- a/idle-clis +++ b/idle-clis @@ -28,6 +28,13 @@ function ckcmd() { fi } +function ckapropos() { + containerName=$1; + shift; + keywords=$@; + echo "Output from: $containerName container..."; + idle-exec-command $containerName apropos $keywords; +} if [ $# -gt 0 ]; then source /usr/local/bin/idle; @@ -40,7 +47,10 @@ if [ $# -gt 0 ]; then containerName=$1; doInContainers $containerName ckcmd $@; exit;; - "apropos") idle-apropos $@; exit;; + "apropos") + containerName=$1 + doInContainers $containerName ckapropos $@; + exit;; "pkgsearch") idle-pkg-search $@; break;; esac else -- 2.39.5