summaryrefslogtreecommitdiff
path: root/jmPIUS.sh
diff options
context:
space:
mode:
authorjstmax! <87650746+jstmaxlol@users.noreply.github.com>2025-01-28 18:26:38 +0100
committerGitHub <noreply@github.com>2025-01-28 18:26:38 +0100
commit778fcf910da0eada8b6e8d9b3b5bb9d0537f67c4 (patch)
tree2ced920e5724dfc94d3bfaff94c974f9c8db3142 /jmPIUS.sh
parent32c7887e8d65e5b730c695471e87efc280a440f6 (diff)
> use xargs instead of [ああああ]
Diffstat (limited to 'jmPIUS.sh')
-rw-r--r--jmPIUS.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jmPIUS.sh b/jmPIUS.sh
index 83645d0..ca2d44e 100644
--- a/jmPIUS.sh
+++ b/jmPIUS.sh
@@ -29,7 +29,7 @@ cd ~/.jmtemp/
### install pacman packages
sudo wget -P ~/.jmtemp/ https://github.com/jstmaxlol/jstmaxlol/raw/refs/heads/main/towget/jm_pkgs_list.txt
-sudo pacman -Syu --noconfirm $(cat ~/.jmtemp/jm_pkgs_list.txt)
+grep -v '^#' ~/.jmtemp/jm_pkgs_list.txt | tr -d '\r' | xargs sudo pacman -Syu --noconfirm
####
##### make fish the default shell