24 lines
380 B
Text
24 lines
380 B
Text
|
#!/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:
|