This commit is contained in:
helixarch 2015-09-13 13:09:38 +03:00
parent 4b72caf7c8
commit 480d66f7e6

1
debtap
View File

@ -3423,7 +3423,6 @@ if [ -e conffiles ]; then
fi fi
# Generating non optional dependencies fields # Generating non optional dependencies fields
if [ $(grep -q '^Depends:\|^Pre-Depends:' control; echo $?) -eq 0 ]; then if [ $(grep -q '^Depends:\|^Pre-Depends:' control; echo $?) -eq 0 ]; then
grep '^Depends:\|^Pre-Depends:' control | sed -e s'/^Depends: \|^Pre-Depends: //g' -e s'/ (/(/g' -e s'/= /=/g' -e s'/>> />/g' -e s'/<< /</g' -e s'/|/ /g' | tr -d "," | while read line; do grep '^Depends:\|^Pre-Depends:' control | sed -e s'/^Depends: \|^Pre-Depends: //g' -e s'/ (/(/g' -e s'/= /=/g' -e s'/>> />/g' -e s'/<< /</g' -e s'/|/ /g' | tr -d "," | while read line; do
for word in $line; do for word in $line; do