aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2016-10-03 09:10:14 +0200
committerKarel Kočí <karel.koci@nic.cz>2016-10-03 09:10:14 +0200
commitc087a6d320d504814d737ca5ebfa6f39c8fae12a (patch)
treef3876a0f0150cc9699fb90f0473aef9a9cddc638
parentb52f09995bd0eba93f6f29d3d41f598d47754139 (diff)
downloadmyconfigs-c087a6d320d504814d737ca5ebfa6f39c8fae12a.tar.gz
myconfigs-c087a6d320d504814d737ca5ebfa6f39c8fae12a.tar.bz2
myconfigs-c087a6d320d504814d737ca5ebfa6f39c8fae12a.zip
On install start update submodules
-rwxr-xr-xinstall2
1 files changed, 2 insertions, 0 deletions
diff --git a/install b/install
index acaa360..ce9d8f7 100755
--- a/install
+++ b/install
@@ -2,6 +2,8 @@
cd `dirname $0`
+git submodule update --init || (echo "Submodule update failed! Use --ignore-sub if it's ok."; exit 5)
+
dodiff() {
if [ -d "$2" ]; then
# If we just copying some file to directory