Ignore:
Timestamp:
07/06/2020 05:44:22 AM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
2f8d952
Parents:
3ac3ae1
Message:

Allow scriptlet numbering to be on 4 digits in packInstall.sh*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkgmngt/packInstall.sh.porg

    r3ac3ae1 r89bcb1b  
    108108local PCKGVRS=$(basename $PKGDIR)
    109109local TGTPKG=$(basename $PKG_DEST)
    110 local PACKAGE=$(echo ${TGTPKG} | sed 's/^[0-9]\{3\}-//' |
     110local PACKAGE=$(echo ${TGTPKG} | sed 's/^[0-9]\{3,4\}-//' |
    111111           sed 's/^[0-9]\{2\}-//')
    112112# Porg converts package names to lowercase anyway, so do the conversion
     
    127127# With porg, we need only the package name to make the tarball
    128128local TGTPKG=$(basename $PKG_DEST)
    129 local PACKAGE=$(echo ${TGTPKG} | sed 's/^[0-9]\{3\}-//' |
     129local PACKAGE=$(echo ${TGTPKG} | sed 's/^[0-9]\{3,4\}-//' |
    130130           sed 's/^[0-9]\{1\}-//')
    131131local PCKGVRS=$(basename $PKGDIR)
Note: See TracChangeset for help on using the changeset viewer.