File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,15 @@ if [[ ! -d "scripts/bash/shlibs" ]]
51
51
then
52
52
(git clone https://github.com/shlibs/shlibs.bash scripts/bash/shlibs) || (printf " \\ nCANNOT CLONE MODULE: Continuing...\\ n\\ n" )
53
53
else
54
- if [[ -f .gitmodules ]]
55
- then
56
- if grep shlibs .gitmodules 1> /dev/null
54
+ if [[ -f .gitmodules ]]
57
55
then
58
- (git submodule update --init --recursive --remote scripts/bash/shlibs) || (printf " \\ nCANNOT UPDATE ~/%s/scripts/bash/shlibs: Continuing...\\ n\\ n" " ${RDR##*/ } " )
56
+ if grep shlibs .gitmodules 1> /dev/null
57
+ then
58
+ (git submodule update --init --recursive --remote scripts/bash/shlibs) || (printf " \\ nCANNOT UPDATE ~/%s/scripts/bash/shlibs: Continuing...\\ n\\ n" " ${RDR##*/ } " )
59
+ fi
60
+ else
61
+ (git submodule add https://github.com/shlibs/shlibs.bash scripts/bash/shlibs) || (printf " \\ nCANNOT ADD MODULE: Continuing...\\ n\\ n" )
59
62
fi
60
- else
61
- (git submodule add https://github.com/shlibs/shlibs.bash scripts/bash/shlibs) || (printf " \\ nCANNOT ADD MODULE: Continuing...\\ n\\ n" )
62
63
fi
63
64
64
65
. " $RDR /scripts/bash/shlibs/mod.bash"
You can’t perform that action at this time.
0 commit comments