generated from general-packages/pika-pkg-template
Update fetch.sh
This commit is contained in:
parent
c888f562d6
commit
41683fccb6
2
fetch.sh
2
fetch.sh
@ -21,7 +21,7 @@ fi
|
|||||||
mkdir -p ./output
|
mkdir -p ./output
|
||||||
|
|
||||||
#
|
#
|
||||||
for bin_pkg in $(apt showsrc "PIKA_PACKAGE_VERSION" | grep -E "^Binary:" | cut -d":" -f2- | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d')
|
for bin_pkg in $(apt showsrc "$PIKA_PACKAGE_VERSION" | grep -E "^Binary:" | cut -d":" -f2- | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d')
|
||||||
do
|
do
|
||||||
BIN_VERSION=$(apt show $bin_pkg:$PIKA_BIN_ARCH 2>&1 | grep Version: | head -n1 | cut -f2- -d":" | cut -f2- -d":" | tr -d ' ')
|
BIN_VERSION=$(apt show $bin_pkg:$PIKA_BIN_ARCH 2>&1 | grep Version: | head -n1 | cut -f2- -d":" | cut -f2- -d":" | tr -d ' ')
|
||||||
TARGET_VERSION=$(echo $BIN_VERSION | sed 's/\+b.*//')
|
TARGET_VERSION=$(echo $BIN_VERSION | sed 's/\+b.*//')
|
||||||
|
Loading…
Reference in New Issue
Block a user