Skip to content

Commit

Permalink
prepare: Set _localversion_tag to a dash when using a _custom_pkgbase…
Browse files Browse the repository at this point in the history
… containing "tkg".

Fixes #986
  • Loading branch information
Tk-Glitch committed Oct 1, 2024
1 parent becc707 commit 43b497f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux-tkg-config/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,8 @@ _tkg_srcprep() {
if [ -n "$_custom_pkgbase" ]; then
if [[ "$_custom_pkgbase" != *tkg* ]]; then
_localversion_tag="-tkg-"
else
_localversion_tag="-"
fi
echo "-${pkgrel}${_localversion_tag}${_custom_pkgbase}" > localversion.10-pkgrel
echo -e "Version tail set to \"-${pkgrel}${_localversion_tag}${_custom_pkgbase}\"\n" > "$_where"/logs/prepare.log.txt
Expand Down

0 comments on commit 43b497f

Please sign in to comment.