mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-22 14:00:40 +08:00
change: update hook for linux-phicomm-n1
This commit is contained in:
parent
2f09bab0af
commit
478a309acf
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,7 @@ newPkgVer() {
|
||||||
# do not print anything to stdout other than new pkgver here
|
# do not print anything to stdout other than new pkgver here
|
||||||
|
|
||||||
#URL='https://cdn.kernel.org/pub/linux/kernel/v5.x/'
|
#URL='https://cdn.kernel.org/pub/linux/kernel/v5.x/'
|
||||||
URL='https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git'
|
#URL='https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git'
|
||||||
VER=$pkgver
|
VER=$pkgver
|
||||||
#CHANGELOG_FORMAT="patch-"
|
#CHANGELOG_FORMAT="patch-"
|
||||||
CHANGELOG_FORMAT="Linux "
|
CHANGELOG_FORMAT="Linux "
|
||||||
|
@ -29,6 +29,8 @@ newPkgVer() {
|
||||||
PATCH=${VER##*.}
|
PATCH=${VER##*.}
|
||||||
MAJOR_MINOR=${VER%.*}
|
MAJOR_MINOR=${VER%.*}
|
||||||
|
|
||||||
|
URL="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/?h=linux-${MAJOR_MINOR}.y"
|
||||||
|
|
||||||
if ! grep -Eq '[0-9].[0-9]' <<< "$MAJOR_MINOR"; then echo "Bad MAJOR_MINOR: ${MAJOR_MINOR}" >&2; return 1; fi
|
if ! grep -Eq '[0-9].[0-9]' <<< "$MAJOR_MINOR"; then echo "Bad MAJOR_MINOR: ${MAJOR_MINOR}" >&2; return 1; fi
|
||||||
if ! grep -Eq '[0-9]' <<< "$PATCH"; then echo "Bad PATCH: ${PATCH}" >&2; return 1; fi
|
if ! grep -Eq '[0-9]' <<< "$PATCH"; then echo "Bad PATCH: ${PATCH}" >&2; return 1; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue