Changeset b9c3497 for pkgmngt/packInstall.sh
- Timestamp:
- 12/13/2014 11:10:32 AM (10 years ago)
- Branches:
- 2.4, ablfs-more, legacy, new_features, trunk
- Children:
- 56d8426
- Parents:
- 57ef0c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pkgmngt/packInstall.sh
r57ef0c1 rb9c3497 14 14 tidy*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]*\)/\1cvs/') ;; 15 15 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. 17 19 esac 18 20 local ARCHIVE_NAME=$(dirname ${PKGDIR})/${PACKAGE}_${VERSION}.deb … … 32 34 Architecture: $ARCH 33 35 EOF 34 dpkg-deb - b . $ARCHIVE_NAME36 dpkg-deb -z9 -b . $ARCHIVE_NAME 35 37 dpkg -i $ARCHIVE_NAME 36 38 mv -v $ARCHIVE_NAME /var/lib/packages
Note:
See TracChangeset
for help on using the changeset viewer.