update: do not error out if there is no update.d scripts
This commit is contained in:
parent
3150cabcd1
commit
f29fb956fd
|
@ -64,7 +64,7 @@ xbps-update () {
|
|||
}
|
||||
|
||||
misc-update() {
|
||||
for i in ${XDG_CONFIG_HOME}/update.d/*; do
|
||||
for i in ${XDG_CONFIG_HOME}/update.d/*(N); do
|
||||
if [[ -x $i ]]; then
|
||||
info "Running updater: ${i:t}"
|
||||
$i $auto
|
||||
|
|
Loading…
Reference in a new issue