mirror of
https://github.com/unraid/webgui.git
synced 2026-01-28 12:39:20 -06:00
make log function known in find exec command
This commit is contained in:
@@ -141,7 +141,7 @@ else
|
||||
# Install any extra packages
|
||||
if [[ -d /boot/extra ]]; then
|
||||
log "Installing /boot/extra packages"
|
||||
( cd /boot/extra ; find -maxdepth 1 -type f -exec sh -c 'upgradepkg --terse --install-new "$1" | log' -- "{}" \; )
|
||||
( export -f log; find /boot/extra -maxdepth 1 -type f -exec sh -c 'upgradepkg --terse --install-new "$1" | log' -- "{}" \; )
|
||||
fi
|
||||
# Install plugins
|
||||
log "Installing plugins"
|
||||
|
||||
Reference in New Issue
Block a user