Browse Source

Andreas V. Meier: fixed create_package_db

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1273 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Andreas V. 'netrunner' Meier 21 years ago
parent
commit
141f1f6b8d
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +2
    -1
      scripts/functions

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -2,6 +2,7 @@
*) 2003-09-01 (2.0.0-rc1 - 2.0.0-rc2) *) 2003-09-01 (2.0.0-rc1 - 2.0.0-rc2)
- updated wv2 and koffice - updated wv2 and koffice
- Andreas V. Meier: fixed create_package_db
*) 2003-08-31 (2.0.0-rc1 - 2.0.0-rc2) *) 2003-08-31 (2.0.0-rc1 - 2.0.0-rc2)

+ 2
- 1
scripts/functions

@ -375,6 +375,7 @@ register_application() {
# Create Package Database for gasgui install tool # Create Package Database for gasgui install tool
# #
create_package_db() { create_package_db() {
rm -f $3.tmp
for file in $( ls -dr $1/descs/?* ) ; do for file in $( ls -dr $1/descs/?* ) ; do
pkg="${file##*/}" pkg="${file##*/}"
# only include the package if a binary file is available # only include the package if a binary file is available
@ -404,7 +405,7 @@ create_package_db() {
echo -e "\027" echo -e "\027"
cat $1/cksums/$pkg cat $1/cksums/$pkg
echo -e "\027" ) > $3.tmp
echo -e "\027" ) >> $3.tmp
else else
echo_error "Binary file for $bfile not present." \ echo_error "Binary file for $bfile not present." \
"Skipped in package database." "Skipped in package database."

Loading…
Cancel
Save