#!/bin/bash if [ "$EUID" -ne 0 ]; then echo "Must run as root!" exit fi echo "====> Downloading official packages" echo # --noconfirm selects all packages from groups pacman -Sy --needed $(