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

    r57ef0c1 rb9c3497  
    1414  tidy*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]*\)/\1cvs/') ;;
    1515  docbook-xml) local VERSION=4.5 ;;
    16   *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*-\([0-9]\)/\1/');;
     16  *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*-\([0-9]\)/\1/' |
     17                   sed 's/_/./g');;
     18# the last sed above is because dpkg does not want a '_' in version.
    1719esac
    1820local ARCHIVE_NAME=$(dirname ${PKGDIR})/${PACKAGE}_${VERSION}.deb
     
    3234Architecture: $ARCH
    3335EOF
    34 dpkg-deb -b . $ARCHIVE_NAME
     36dpkg-deb -z9 -b . $ARCHIVE_NAME
    3537dpkg -i $ARCHIVE_NAME
    3638mv -v $ARCHIVE_NAME /var/lib/packages
Note: See TracChangeset for help on using the changeset viewer.