void-packages/srcpkgs/mkinitcpio/files/xbps_install

24 lines
380 B
Text
Raw Normal View History

2015-09-05 10:26:38 +00:00
#!/bin/bash
build() {
for bin in /usr/bin/xbps-*; do
add_binary "$bin"
done
for key in /var/db/xbps/keys/*; do
add_file "$key"
done
for conf in /usr/share/xbps.d/*; do
add_file "$conf"
done
}
help() {
cat <<HELPEOF
This hook will add xbps to recover broken voidlinux installations.
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: