mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
This is a lot more tab-complete-friendly and it's also closer to what many other packages do for similar situations.
9 lines
170 B
Bash
Executable file
9 lines
170 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -eu
|
|
cd "${0%/*}/.."
|
|
|
|
# Nothing missing? Do nothing.
|
|
git submodule status vendor | grep -q ^- || exit 0
|
|
|
|
git submodule update --init --checkout 'vendor/*'
|