Ignore:
Timestamp:
12/13/2014 11:10:32 AM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
56d8426
Parents:
57ef0c1
Message:
  • Update to new dpkg version
  • Remove underscore from version strings, since dpkg does not support it
  • Update packInstall.sh.template to show how to remove underscore
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkgmngt/packInstall.sh.template

    r57ef0c1 rb9c3497  
    1818  tidy*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]*\)/\1cvs/') ;;
    1919  docbook-xml) local VERSION=4.5 ;;
    20   *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*[-_]\([0-9]\)/\1/');;
     20  *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*[-_]\([0-9]\)/\1/' |
     21                   sed 's/_/./g');;
     22# the last sed above is because some package managers do not want a '_'
     23# in version.
    2124esac
    2225local ARCHIVE_NAME=$(dirname ${PKGDIR})/${PACKAGE}_${VERSION}.deb
Note: See TracChangeset for help on using the changeset viewer.