File tree 1 file changed +1
-19
lines changed
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -15,29 +15,11 @@ script_dir() {
15
15
}
16
16
17
17
install () {
18
- packages_install git git-lfs
18
+ packages_install git git-lfs git-delta
19
19
20
20
if ! command -v git > /dev/null 2>&1 ; then
21
21
return
22
22
fi
23
23
24
24
curl --disable --silent --show-error --location --max-time 30 --output " $( script_dir) /../sources/git-prompt" " https://raw.githubusercontent.com/git/git/v$( git --version | awk ' {printf("%s", $3)}' ) /contrib/completion/git-prompt.sh"
25
-
26
- # renovate: datasource=github-releases depName=dandavison/delta
27
- local DELTA_VERSION=" 0.16.5"
28
-
29
- local OS=" unknown-linux-musl"
30
- local ARCH
31
- ARCH=" $( normalized_arch " " " arm" ) "
32
-
33
- if [[ $( normalized_os) =~ ^darwin ]]; then
34
- OS=" apple-darwin"
35
- elif [[ ${ARCH} == " aarch64" ]]; then
36
- OS=" unknown-linux-gnu"
37
- elif [[ ${ARCH} == " arm" ]]; then
38
- OS=" unknown-linux-gnueabihf"
39
- fi
40
-
41
- local DELTA_RELEASE=" delta-${DELTA_VERSION} -${ARCH} -${OS} "
42
- archive_to_binary " https://github.com/dandavison/delta/releases/download/${DELTA_VERSION} /${DELTA_RELEASE} .tar.gz" " ${DELTA_RELEASE} /delta"
43
25
}
You can’t perform that action at this time.
0 commit comments