mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-27 21:58:53 +01:00
install-new: catch packages added to /patches after -stable release
Thanks to blizzack on ##slackware for the report, and thanks to Skydroid and alienBOB for debugging assistance.
This commit is contained in:
parent
406a3cbed3
commit
69f7c9103d
1 changed files with 20 additions and 0 deletions
|
@ -18,6 +18,26 @@
|
||||||
print $0
|
print $0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/^patches\/packages\/([a-zA-Z0-9_\+.\-]+):.* ([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/ {
|
||||||
|
INPUT=$1
|
||||||
|
fs=FS
|
||||||
|
FS="/" ; OFS="/"
|
||||||
|
$0=INPUT
|
||||||
|
FULLPACK=$NF
|
||||||
|
FS="-" ; OFS="-"
|
||||||
|
$0=FULLPACK
|
||||||
|
if ( NF > 3 ) {
|
||||||
|
NF=NF-3
|
||||||
|
} else {
|
||||||
|
FS=":" ; OFS=":"
|
||||||
|
$0=$0
|
||||||
|
$0=$1
|
||||||
|
}
|
||||||
|
FS=fs
|
||||||
|
CONTINUE=no
|
||||||
|
print $0
|
||||||
|
}
|
||||||
|
|
||||||
/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|xfce|y)\/([a-zA-Z0-9_\+.\-]+): *$/ {
|
/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|xfce|y)\/([a-zA-Z0-9_\+.\-]+): *$/ {
|
||||||
INPUT=$1
|
INPUT=$1
|
||||||
fs=FS
|
fs=FS
|
||||||
|
|
Loading…
Reference in a new issue