Replace commas with whitespace

This commit is contained in:
dabruh 2022-12-14 20:38:54 +01:00
parent 5690e8d1ce
commit 4cbbf46270
2 changed files with 19 additions and 19 deletions

View File

@ -1,24 +1,24 @@
pacman-base:acpi,wget,curl # Required for setup_system.sh pacman-base:acpi wget curl # Required for setup_system.sh
pacman-any:i3-gaps,feh,i3status,network-manager-applet,pasystray,xautolock,inotify-tools,xss-lock,noto-fonts-emoji pacman-any:i3-gaps feh i3status network-manager-applet pasystray xautolock inotify-tools xss-lock noto-fonts-emoji
pacman-any:zsh,tmux,code,vim,ufw,scrot,dunst,arandr,ranger,thunar,flameshot pacman-any:zsh tmux code vim ufw scrot dunst arandr ranger thunar flameshot
pacman-any:gst-libav,phonon-qt5-gstreamer,gst-plugins-good,qt5-quickcontrols,qt5-graphicaleffects,qt5-multimedia pacman-any:gst-libav phonon-qt5-gstreamer gst-plugins-good qt5-quickcontrols qt5-graphicaleffects qt5-multimedia
pacman-laptop:brightnessctl pacman-laptop:brightnessctl
aur-any:picom-git,sddm-theme-aerial-git aur-any:picom-git sddm-theme-aerial-git
apt-base:acpi,wget,curl # Required for setup_system.sh apt-base:acpi wget curl # Required for setup_system.sh
apt-any:i3,feh,i3status,nm-tray,pasystray,xautolock,inotify-tools,xss-lock,fonts-noto-color-emoji,fonts-hack-ttf,xclip apt-any:i3 feh i3status nm-tray pasystray xautolock inotify-tools xss-lock fonts-noto-color-emoji fonts-hack-ttf xclip
apt-any:chromium-browser,zsh,tmux,codium,vim,ufw,scrot,dunst,arandr,ranger,thunar,flameshot apt-any:chromium-browser zsh tmux codium vim ufw scrot dunst arandr ranger thunar flameshot
apt-any:libxext-dev,libxcb1-dev,libxcb-damage0-dev,libxcb-xfixes0-dev,libxcb-shape0-dev,libxcb-render-util0-dev,libxcb-render0-dev,libxcb-randr0-dev,libxcb-composite0-dev,libxcb-image0-dev,libxcb-present-dev,libxcb-xinerama0-dev,libxcb-glx0-dev,libpixman-1-dev,libdbus-1-dev,libconfig-dev,libgl1-mesa-dev,libpcre2-dev,libpcre3-dev,libevdev-dev,uthash-dev,libev-dev,libx11-xcb-dev,meson apt-any:libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libpcre3-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev meson
apt-any:python3,python3-pip apt-any:python3 python3-pip
apt-any:sddm,gstreamer1.0-libav,phonon4qt5-backend-gstreamer,gstreamer1.0-plugins-good,qml-module-qtquick-controls,qml-module-qtgraphicaleffects,qml-module-qtmultimedia apt-any:sddm gstreamer1.0-libav phonon4qt5-backend-gstreamer gstreamer1.0-plugins-good qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtmultimedia
apt-any:cargo,cmake,pkg-config,libfreetype6-dev,libfontconfig1-dev,libxcb-xfixes0-dev,libxkbcommon-dev,python3 apt-any:cargo cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
apt-any:libxcb-render0-dev,libffi-dev,python3-dev,python3-cffi apt-any:libxcb-render0-dev libffi-dev python3-dev python3-cffi
apt-any:libpam-u2f apt-any:libpam-u2f
apt-laptop:brightnessctl apt-laptop:brightnessctl
pip-any:flashfocus pip-any:flashfocus
brew-formulas-any:azure-cli brew-any:azure-cli
brew-formulas-any:kubectl,helm,shellcheck,velero,azure/kubelogin/kubelogin,derailed/k9s/k9s,fluxcd/tap/flux,weaveworks/tap/gitops brew-any:kubectl helm shellcheck velero azure/kubelogin/kubelogin derailed/k9s/k9s fluxcd/tap/flux weaveworks/tap/gitops # Kubernetes related
brew-formulas-any:zsh-autosuggestions,zsh-history-substring-search,zsh-syntax-highlighting brew-any:zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting # ZSH related
krew-any:ctx,krew,ns,slice,stern,tree krew-any:ctx krew ns slice stern tree

View File

@ -59,7 +59,7 @@ function get_packages() {
for target in "$@"; do for target in "$@"; do
while read -r row; do while read -r row; do
for package in ${row//,/ }; do for package in $row; do
echo "$package" echo "$package"
done done
done <<<"$(grep "^${target:?}:" "$pkg_file" | cut -d: -f2 | cut -d# -f1)" done <<<"$(grep "^${target:?}:" "$pkg_file" | cut -d: -f2 | cut -d# -f1)"
@ -148,7 +148,7 @@ function setup_homebrew() {
} }
function setup_brew_formulas() { function setup_brew_formulas() {
local targets=("brew-formulas-any") local targets=("brew-any")
brew update || return 1 brew update || return 1