Tighten the sub check to also skip RCs
Thanks to Iglu47 🐸 ❤️
This commit is contained in:
parent
5917bde99f
commit
fde290233a
@ -344,7 +344,7 @@ _tkg_srcprep() {
|
||||
echo "" > localversion.20-pkgname
|
||||
|
||||
# add upstream patch
|
||||
if [ "$_sub" != "0" ]; then
|
||||
if [ "$_sub" != "0" ] && [[ "$_sub" != rc* ]]; then
|
||||
msg2 "Patching from $_basekernel to $pkgver"
|
||||
if [ ! -e "$srcdir/patch-${pkgver}" ]; then
|
||||
( cd "$_where" && xz -dk patch-${pkgver}.xz && mv "$_where"/patch-${pkgver} "$srcdir"/ )
|
||||
|
Loading…
Reference in New Issue
Block a user