wok annotate lesspipe/stuff/patches/lesspipe.sh @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (14 months ago) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@25549 | 1 --- lesspipe.sh.orig |
Hans-G?nter@25549 | 2 +++ lesspipe.sh |
Hans-G?nter@25549 | 3 @@ -668,7 +668,7 @@ |
Hans-G?nter@25549 | 4 isrpm () { |
Hans-G?nter@25549 | 5 if [[ -z "$2" ]]; then |
Hans-G?nter@25549 | 6 if has_cmd rpm; then |
Hans-G?nter@25549 | 7 - istemp "rpm -qivp" "$1" |
Hans-G?nter@25549 | 8 + istemp "rpm -qip" "$1" |
Hans-G?nter@25549 | 9 contentline |
Hans-G?nter@25549 | 10 [[ $1 == - ]] && set "$t" "$1" |
Hans-G?nter@25549 | 11 fi |