author | wimpie <wimpie> | 2005-01-04 01:49:47 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:49:47 (UTC) |
commit | 45c241b9bac51d6538469ba8e306e8d88f639ff7 (patch) (side-by-side diff) | |
tree | 6bac89512073ad03c2cd99198cd498e8078c2640 /scripts/tothreaded | |
parent | e90b4cb5253669d44b1eb1ed7fb2be30d68033c0 (diff) | |
download | opie-45c241b9bac51d6538469ba8e306e8d88f639ff7.zip opie-45c241b9bac51d6538469ba8e306e8d88f639ff7.tar.gz opie-45c241b9bac51d6538469ba8e306e8d88f639ff7.tar.bz2 |
CONTROL files : changed VERSION string
-rwxr-xr-x | scripts/tothreaded | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/tothreaded b/scripts/tothreaded index d9f8488..31ed31e 100755 --- a/scripts/tothreaded +++ b/scripts/tothreaded @@ -54,79 +54,83 @@ usage() { # get the name of the controlfile to check for threading # if [ -z "$1" ] then usage fi controlfile=$1 shift case $controlfile in *-mt.control) #already threaded echo $controlfile exit 0; ;; esac # # file containing list of all known threaded packages # if [ -z "$1" ] then usage fi ALLTHREADEDPKGSFILE=$1 shift # # strip out the name of the package # packagename=${controlfile##*/} # path packagename=${packagename%.control} # extension # # generate new control file # newcontrolfile=${controlfile/\.control/-mt\.control} # # read all lines in original control file # while read line do case $line in # convert some files to threaded equivalent "Files:"*) files=${line#Files:} # thread-converted files T_files=`ConvertSpecialFiles "$files"` echo "Files: $T_files" ;; "Package: "*) T_package=`findthreadedequiv ${line#Package: }` echo "Package: ${T_package}" ;; "Depends: "*) depends=`echo "${line#Depends: }" | tokenize` T_depends=`findthreadedequiv ${depends}` echo "Depends: $T_depends" ;; "Provides: "*) T_provides=`findthreadedequiv ${line#Provides: }` echo "Provides: $T_provides" ;; + "Recommends: "*) + T_recommends=`findthreadedequiv ${line#Recommends: }` + echo "Recommends: $T_recommends" + ;; "Conflicts: "*) conflicts=`echo "${line#Conflicts: }" | tokenize` T_conflicts=`findthreadedequiv ${conflicts}` echo "Conflicts: $T_conflicts" ;; *":"*) echo "$line" ;; *) # al other lines echo " $line" ;; esac done < $controlfile > $newcontrolfile echo $newcontrolfile |