blob: 01de8073b9d5c6dd02e4e5483f46452f977d2807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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
if [ ! "$(cat ~/repository.list | grep 'void-repo-nonfree')" ]; then
sudo xbps-install -Sy void-repo-nonfree
fi
|