Remove special cases for vim and tidy in packInstall.sh.pacman
This commit is contained in:
parent
d5a739aebd
commit
959319749e
1 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,7 @@ local PACKAGE=$(echo ${TGTPKG} | sed 's/^[0-9]\{3\}-//' |
|
||||||
# name is not normalized, several hacks are necessary...
|
# name is not normalized, several hacks are necessary...
|
||||||
case $PCKGVRS in
|
case $PCKGVRS in
|
||||||
expect*|tcl*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*//') ;;
|
expect*|tcl*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*//') ;;
|
||||||
vim*|unzip*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]\)\([0-9]\)/\1.\2/') ;;
|
unzip*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]\)\([0-9]\)/\1.\2/') ;;
|
||||||
tidy*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]*\)/\1cvs/') ;;
|
|
||||||
docbook-xml) local VERSION=4.5 ;;
|
docbook-xml) local VERSION=4.5 ;;
|
||||||
*) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*[-_]\([0-9]\)/\1/' |
|
*) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*[-_]\([0-9]\)/\1/' |
|
||||||
sed 's/_/./g');;
|
sed 's/_/./g');;
|
||||||
|
|
Reference in a new issue