|
10 | 10 | # findver - find out the version in the repository;
|
11 | 11 | # repo - installation from the repository.
|
12 | 12 | # 2) -v|--version: library release number. Only for types 'binary' and 'source'. Options available: '2.1.2' '2.0.2' '1.6.4' '1.6.3'.
|
13 |
| -# 3) -f|--file: name of the binary file to install. Only for type 'binary'. Source: https://github.com/devdotnetorg/docker-libgpiod/blob/dev/out/list.txt |
| 13 | +# 3) -f|--file: name of the binary file to install. Only for type 'binary'. Source: https://github.com/devdotnetorg/docker-libgpiod/blob/HEAD/out/list.txt |
14 | 14 | # 4) -c|--canselect: selection of build, values: yes, no (default: yes). Only for type 'binary'.
|
15 | 15 | # 5) -o|--options: argument string to build the library. Only for type 'source' (default: --enable-tools=yes --enable-bindings-cxx --enable-bindings-python ac_cv_func_malloc_0_nonnull=yes).
|
16 | 16 | # 6) -p|--path: library installation folder (default: /usr/share/libgpiod). Only for type 'source'.
|
@@ -467,7 +467,7 @@ if [ "${TYPE_SETUP}" == "binary" ]; then
|
467 | 467 | && sudo apt-get install -y wget)
|
468 | 468 | echo "Package search ..."
|
469 | 469 | # get list
|
470 |
| - wget -O list.txt "https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/dev/out/list.txt" |
| 470 | + wget -O list.txt "https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/HEAD/out/list.txt" |
471 | 471 | # select - ARCH_OS, ID_OS, VERSION_OS, LIB_VERSION
|
472 | 472 | declare LIST_BIN=$(cat list.txt | grep ${ARCH_OS} | grep ${ID_OS} | \
|
473 | 473 | grep ${VERSION_OS} | grep "${LIB_VERSION}")
|
@@ -525,7 +525,7 @@ if [ "${TYPE_SETUP}" == "binary" ]; then
|
525 | 525 | && sudo apt-get install -y unzip)
|
526 | 526 | echo "Package download ..."
|
527 | 527 | # download bin
|
528 |
| - wget -O libgpiod-bin.zip "https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/dev/out/${FILENAME_BIN}.zip" |
| 528 | + wget -O libgpiod-bin.zip "https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/HEAD/out/${FILENAME_BIN}.zip" |
529 | 529 | # install
|
530 | 530 | sudo unzip -o libgpiod-bin.zip -d /usr/
|
531 | 531 | # removing artifacts
|
|
0 commit comments