@@ -9,7 +9,7 @@ begin_group "Install dependencies"
9
9
10
10
P4WHENCE=https://cdist2.perforce.com/perforce/r23.2
11
11
LFSWHENCE=https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION
12
- JGITWHENCE=https://repo.eclipse .org/content/groups/releases/ /org/eclipse/jgit/org.eclipse.jgit.pgm/6.8.0.202311291450-r/org.eclipse.jgit.pgm-6.8.0.202311291450-r.sh
12
+ JGITWHENCE=https://repo1.maven .org/maven2 /org/eclipse/jgit/org.eclipse.jgit.pgm/6.8.0.202311291450-r/org.eclipse.jgit.pgm-6.8.0.202311291450-r.sh
13
13
14
14
# Make sudo a no-op and execute the command directly when running as root.
15
15
# While using sudo would be fine on most platforms when we are root already,
@@ -71,24 +71,19 @@ ubuntu-*|i386/ubuntu-*|debian-*)
71
71
chmod a+x " $CUSTOM_PATH /p4d" " $CUSTOM_PATH /p4" || {
72
72
rm -f " $CUSTOM_PATH /p4"
73
73
rm -f " $CUSTOM_PATH /p4d"
74
- echo >&2 " P4 download (optional) failed"
75
74
}
76
75
77
76
wget --quiet \
78
77
" $LFSWHENCE /git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION .tar.gz" &&
79
78
tar -xzf " git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION .tar.gz" \
80
79
-C " $CUSTOM_PATH " --strip-components=1 \
81
80
" git-lfs-$LINUX_GIT_LFS_VERSION /git-lfs" &&
82
- rm " git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION .tar.gz" || {
83
- rm -f " $CUSTOM_PATH /git-lfs"
84
- echo >&2 " LFS download (optional) failed"
85
- }
81
+ rm " git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION .tar.gz" ||
82
+ rm -f " $CUSTOM_PATH /git-lfs"
86
83
87
84
wget --quiet " $JGITWHENCE " --output-document=" $CUSTOM_PATH /jgit" &&
88
- chmod a+x " $CUSTOM_PATH /jgit" || {
89
- rm -f " $CUSTOM_PATH /jgit"
90
- echo >&2 " JGit download (optional) failed"
91
- }
85
+ chmod a+x " $CUSTOM_PATH /jgit" ||
86
+ rm -f " $CUSTOM_PATH /jgit"
92
87
;;
93
88
esac
94
89
;;
@@ -151,23 +146,23 @@ then
151
146
echo " $( tput setaf 6) Perforce Client Version$( tput sgr0) "
152
147
p4 -V
153
148
else
154
- echo >&2 " WARNING : perforce wasn't installed, see above for clues why"
149
+ echo >&2 " ::warning: : perforce wasn't installed, see above for clues why"
155
150
fi
156
151
157
152
if type git-lfs > /dev/null 2>&1
158
153
then
159
154
echo " $( tput setaf 6) Git-LFS Version$( tput sgr0) "
160
155
git-lfs version
161
156
else
162
- echo >&2 " WARNING : git-lfs wasn't installed, see above for clues why"
157
+ echo >&2 " ::warning: : git-lfs wasn't installed, see above for clues why"
163
158
fi
164
159
165
160
if type jgit > /dev/null 2>&1
166
161
then
167
162
echo " $( tput setaf 6) JGit Version$( tput sgr0) "
168
163
jgit version
169
164
else
170
- echo >&2 " WARNING : JGit wasn't installed, see above for clues why"
165
+ echo >&2 " ::warning: : JGit wasn't installed, see above for clues why"
171
166
fi
172
167
173
168
end_group " Install dependencies"
0 commit comments