]> gitweb.morketsmerke.org Git - idle.git/commitdiff
Poprawienie błedów w sekcji odpowiedzialnej za instalacje grup kontenerów - tworzenie...
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 15 Jul 2023 13:53:08 +0000 (15:53 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 15 Jul 2023 13:53:08 +0000 (15:53 +0200)
idle.sh

diff --git a/idle.sh b/idle.sh
index f76325019d86671c8a2744211653ca167ab1357f..1e490b922d937c3649b93318dc4f5c9a7bfcae91 100644 (file)
--- a/idle.sh
+++ b/idle.sh
@@ -60,7 +60,7 @@ function idle-fetch-containers() {
 
   rpmGrepOpts='-E rpm.sh|fedora.sh|opensuse.sh|alt.sh';
   debGrepOpts='deb.sh';
-  otherGrepOpts='-v -e rpm.sh|fedora.sh|opensuse.sh|alt.sh|deb.sh';
+  otherGrepOpts='-v -E rpm.sh|fedora.sh|opensuse.sh|alt.sh|deb.sh';
 
   function create-container() {
     containerName=$1;
@@ -97,11 +97,11 @@ function idle-fetch-containers() {
        create-container $contName; 
       done
     elif [ "$1" = "--deb" ]; then
-      mass-create-container $debGrepOptions;
+      mass-create-container $debGrepOpts;
     elif [ "$1" = "--rpm" ]; then
-      mass-create-container $rpmGrepOptions;
+      mass-create-container $rpmGrepOpts;
     elif [ "$1" = "--other" ]; then
-      mass-create-container $otherGrepOptions;
+      mass-create-container $otherGrepOpts;
     else
       contName=$1;
       create-container $contName;
@@ -122,10 +122,8 @@ function idle-fetch-containers() {
     echo -e "  --deb - based on APT package manager";
     list-containers $debGrepOpts;
     echo -e "  --rpm - based on RPM package manager";
-    grepOpts='-E rpm.sh|fedora.sh|opensuse.sh|alt.sh';
     list-containers $rpmGrepOpts;
     echo -e "  --other - other containers not fit to above groups:";
-    grepOpts='-v -e rpm.sh|fedora.sh|opensuse.sh|alt.sh|deb.sh';
     list-containers $otherGrepOpts;
     return 1;
   fi