From e1ac172065b0d79c772090f256a0cbf2821b8583 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Thu, 1 Aug 2024 17:32:06 +0300 Subject: [PATCH] comment checker --- .github/push-iso | 2 +- chroot_scripts/2-install-live-lists.sh | 5 ++++- chroot_scripts/3-download-pool.sh | 5 ++++- chroot_scripts/4-uninstall-rem-lists.sh | 5 ++++- live-lists/0-basics.list | 2 -- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/push-iso b/.github/push-iso index dec2bf5..2edeafb 100644 --- a/.github/push-iso +++ b/.github/push-iso @@ -1 +1 @@ -19 \ No newline at end of file +20 \ No newline at end of file diff --git a/chroot_scripts/2-install-live-lists.sh b/chroot_scripts/2-install-live-lists.sh index 4b4b573..7b19671 100755 --- a/chroot_scripts/2-install-live-lists.sh +++ b/chroot_scripts/2-install-live-lists.sh @@ -10,7 +10,10 @@ for live_list in /chroot_scripts/live-lists/*.list do for pkg in $(cat $live_list) do - echo $pkg >> /chroot_scripts/live_list + if [[ $pkg != "#"* ]] + then + echo $pkg >> /chroot_scripts/live_list + fi done done diff --git a/chroot_scripts/3-download-pool.sh b/chroot_scripts/3-download-pool.sh index 9c6a42f..8c4e3be 100755 --- a/chroot_scripts/3-download-pool.sh +++ b/chroot_scripts/3-download-pool.sh @@ -10,7 +10,10 @@ for pool_list in /chroot_scripts/pool-lists/*.list do for pkg in $(cat $pool_list) do - echo $pkg >> /chroot_scripts/pool_list + if [[ $pkg != "#"* ]] + then + echo $pkg >> /chroot_scripts/pool_list + fi done done diff --git a/chroot_scripts/4-uninstall-rem-lists.sh b/chroot_scripts/4-uninstall-rem-lists.sh index 188869f..688d143 100755 --- a/chroot_scripts/4-uninstall-rem-lists.sh +++ b/chroot_scripts/4-uninstall-rem-lists.sh @@ -10,7 +10,10 @@ for rem_list in /chroot_scripts/rem-lists/*.list do for pkg in $(cat $rem_list) do - echo $pkg >> /chroot_scripts/rem_list + if [[ $pkg != "#"* ]] + then + echo $pkg >> /chroot_scripts/rem_list + fi done done diff --git a/live-lists/0-basics.list b/live-lists/0-basics.list index 0b2c45b..7f0842e 100755 --- a/live-lists/0-basics.list +++ b/live-lists/0-basics.list @@ -1,10 +1,8 @@ pika-sources systemd -zram-config pika-baseos pika-amdgpu-core pika-amdgpu-switcher -pika-gnome-desktop-minimal dbus-x11 rsync apt-utils