Add support for comments

This commit is contained in:
dabruh 2022-12-14 20:25:03 +01:00
parent b8e2e5568e
commit e829294c1f
2 changed files with 3 additions and 3 deletions

View file

@ -1,11 +1,11 @@
pacman-base:acpi,wget,curl
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: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-laptop:brightnessctl
aur-any:picom-git,sddm-theme-aerial-git
apt-base:acpi,wget,curl
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: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

View file

@ -63,7 +63,7 @@ function get_packages() {
for package in ${row//,/ }; do
echo "$package"
done
done <<<"$(grep "^${target:?}:" "$pkg_file" | cut -d':' -f2)"
done <<<"$(grep "^${target:?}:" "$pkg_file" | cut -d: -f2 | cut -d# -f1)"
done
}