Skip to content

Commit 5528ded

Browse files
committed
Update setup-libgpiod.sh
1 parent 61cb2a5 commit 5528ded

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup-libgpiod.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# findver - find out the version in the repository;
1111
# repo - installation from the repository.
1212
# 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
1414
# 4) -c|--canselect: selection of build, values: yes, no (default: yes). Only for type 'binary'.
1515
# 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).
1616
# 6) -p|--path: library installation folder (default: /usr/share/libgpiod). Only for type 'source'.
@@ -467,7 +467,7 @@ if [ "${TYPE_SETUP}" == "binary" ]; then
467467
&& sudo apt-get install -y wget)
468468
echo "Package search ..."
469469
# 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"
471471
# select - ARCH_OS, ID_OS, VERSION_OS, LIB_VERSION
472472
declare LIST_BIN=$(cat list.txt | grep ${ARCH_OS} | grep ${ID_OS} | \
473473
grep ${VERSION_OS} | grep "${LIB_VERSION}")
@@ -525,7 +525,7 @@ if [ "${TYPE_SETUP}" == "binary" ]; then
525525
&& sudo apt-get install -y unzip)
526526
echo "Package download ..."
527527
# 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"
529529
# install
530530
sudo unzip -o libgpiod-bin.zip -d /usr/
531531
# removing artifacts

0 commit comments

Comments
 (0)