Skip to content

Commit

Permalink
added pkgrel to version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
j00ch committed Jan 7, 2021
1 parent 6d3180e commit 06f748a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linux-ck-autobuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# linux-ck-autobuild
VERSION=0.1.1
VERSION=0.1.2
# Author: Jochum D, jooch (at) gmx (dot) com
# License: GPL3
# About: This script will automatically build specified ck kernels
Expand Down Expand Up @@ -92,7 +92,7 @@ function main_program {
load_config
check_build_dir
. /etc/$program_name/subarches
latest_version=$(curl -s https://aur.archlinux.org/packages/linux-ck | grep -A 1 'pkgdetails" class="box' | grep -Po '\d.\d.\D.')
latest_version=$(curl -s https://aur.archlinux.org/packages/linux-ck | grep -A 1 'pkgdetails" class="box' | grep -Po '\d.\d.\D.\D.')
sed -i '/^build().*/a MAKEFLAGS="'$makeflags'"' $BUILDDIR/linux-ck/PKGBUILD
for element in "${SUBARCH[@]}"; do
subarch_name="arch_$element"
Expand Down

0 comments on commit 06f748a

Please sign in to comment.