Update package version to 10.2.4
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="NetworkConfiguration/dhcpcd"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
# Get version number from tag name
|
||||||
|
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
||||||
|
|
||||||
|
# Trim 'v' character in VERSION variable
|
||||||
|
VERSION=$(echo "$VERSION" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: dhcpcd
|
name: dhcpcd
|
||||||
description: A DHCP and DHCPv6 client
|
description: A DHCP and DHCPv6 client
|
||||||
version: 10.0.6
|
version: 10.2.4
|
||||||
revision: 4
|
|
||||||
url: https://roy.marples.name/projects/dhcpcd
|
url: https://roy.marples.name/projects/dhcpcd
|
||||||
license: BSD-2-Clause
|
license: BSD-2-Clause
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ name: dhcpcd
|
|||||||
description: run dhcpcd on all clients
|
description: run dhcpcd on all clients
|
||||||
dependencies: ["udevd"]
|
dependencies: ["udevd"]
|
||||||
type: background
|
type: background
|
||||||
start_cmd: dhcpcd -q -B
|
start_cmd: dhcpcd -B -M
|
||||||
exit_method: kill
|
exit_method: kill
|
||||||
restart: true
|
restart: true
|
||||||
|
|||||||
Reference in New Issue
Block a user