#!/bin/bash # We'll use xpkg from xtools to find installable packages if ! [ -x "$(command -v xpkg)" ]; then sudo xbps-install xtools fi # Set up file sync if [ ! -f ~/repository.list ]; then xpkg -m > ~/repository.list fi