mirror of
https://github.com/helixarch/debtap
synced 2024-11-22 02:10:26 +01:00
Update
This commit is contained in:
parent
67b12fcbed
commit
c638872839
25
debtap
25
debtap
|
@ -3278,13 +3278,14 @@ if [ -e optional-dependencies-untranslated-names-only ]; then
|
|||
fi
|
||||
|
||||
# Appending ready translated names (if any needed) to the translated packages names list
|
||||
grep -q libgl1 tempfile02 && echo libgl >> final-check-list
|
||||
grep -q libglu1 tempfile02 && echo glu >> final-check-list
|
||||
grep -q default-jre tempfile02 && echo java-runtime >> final-check-list
|
||||
grep -q python:any tempfile02 && echo python >> final-check-list
|
||||
grep libpango tempfile02 | grep -v libpangomm | sed s"/`grep libpango tempfile02 | grep -v libpangomm | gawk '{print $1}' | head -1`/pango/g" | sed s'/=/= /g' | sed s'/>/> /g' | sed s'/</< /g' | sed s'/> =/>=/g' | sed s'/< =/<=/g' | sed s'/-multilib$\|^lib32-//g' >> final-check-list
|
||||
grep libpangomm tempfile02 | sed s"/`grep libpangomm tempfile02 | gawk '{print $1}' | head -1`/pangomm/g" | sed s'/=/= /g' | sed s'/>/> /g' | sed s'/</< /g' | sed s'/> =/>=/g' | sed s'/< =/<=/g' | sed s'/-multilib$\|^lib32-//g' >> final-check-list
|
||||
grep -q fonts-freefont-ttf tempfile02 && echo ttf-freefont >> final-check-list
|
||||
grep -q "^xlibs$\|^xlibs =\|^xlibs >\|^xlibs <" tempfile02 && echo libx11 >> final-check-list
|
||||
grep -q "^libgl1$\|^libgl1 =\|^libgl1 >\|^libgl1 <" tempfile02 && echo libgl >> final-check-list
|
||||
grep -q "^libglu1$\|^libglu1 =\|^libglu1 >\|^libglu1 <" tempfile02 && echo glu >> final-check-list
|
||||
grep -q "^default-jre$\|^default-jre =\|^default-jre >\|^default-jre <" tempfile02 && echo java-runtime >> final-check-list
|
||||
grep -q "^python:any$\|^python:any =\|^python:any >\|^python:any <" tempfile02 && echo python >> final-check-list
|
||||
grep "^libpango$\|^libpango =\|^libpango >\|^libpango <" tempfile02 | sed s"/`grep "^libpango$\|^libpango =\|^libpango >\|^libpango <" tempfile02 | gawk '{print $1}' | head -1`/pango/g" | sed s'/=/= /g' | sed s'/>/> /g' | sed s'/</< /g' | sed s'/> =/>=/g' | sed s'/< =/<=/g' | sed s'/-multilib$\|^lib32-//g' >> final-check-list
|
||||
grep "^libpangomm$\|^libpangomm =\|^libpangomm >\|^libpangomm <" tempfile02 | sed s"/`grep "^libpangomm$\|^libpangomm =\|^libpangomm >\|^libpangomm <" tempfile02 | gawk '{print $1}' | head -1`/pangomm/g" | sed s'/=/= /g' | sed s'/>/> /g' | sed s'/</< /g' | sed s'/> =/>=/g' | sed s'/< =/<=/g' | sed s'/-multilib$\|^lib32-//g' >> final-check-list
|
||||
grep -q "^fonts-freefont-ttf$\|^fonts-freefont-ttf =\|^fonts-freefont-ttf >\|^fonts-freefont-ttf <" tempfile02 && echo ttf-freefont >> final-check-list
|
||||
|
||||
# Stripping unnecessary symbols and words from packages versions
|
||||
grep -v "^$" final-check-list | while read line; do
|
||||
|
@ -3376,7 +3377,7 @@ if [ $(grep -q ^Replaces: control; echo $?) -eq 0 ]; then
|
|||
done
|
||||
done
|
||||
sed -e s'/(/ /g' -e s'/)//g' tempfile01 | sort > tempfile02
|
||||
grep -v 'libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > replacements-initial-check-list
|
||||
grep -v 'xlibs\|libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > replacements-initial-check-list
|
||||
packages-names-translator
|
||||
for i in `sort -u tempfile20`; do echo "replaces = $i" >> .PKGINFO; done
|
||||
rm -rf *tempfile* replacements-initial-check-list final-check-list
|
||||
|
@ -3390,7 +3391,7 @@ if [ $(grep -q ^Conflicts: control; echo $?) -eq 0 ]; then
|
|||
done
|
||||
done
|
||||
sed -e s'/(/ /g' -e s'/)//g' tempfile01 | sort > tempfile02
|
||||
grep -v 'libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > conflicts-initial-check-list
|
||||
grep -v 'xlibs\|libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > conflicts-initial-check-list
|
||||
packages-names-translator
|
||||
for i in `sort -u tempfile20`; do echo "conflict = $i" >> .PKGINFO; done
|
||||
rm -rf *tempfile* conflicts-initial-check-list final-check-list
|
||||
|
@ -3404,7 +3405,7 @@ if [ $(grep -q ^Provides: control; echo $?) -eq 0 ]; then
|
|||
done
|
||||
done
|
||||
sed -e s'/(/ /g' -e s'/)//g' tempfile01 | sort > tempfile02
|
||||
grep -v 'libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > provisions-initial-check-list
|
||||
grep -v 'xlibs\|libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > provisions-initial-check-list
|
||||
packages-names-translator
|
||||
for i in `sort -u tempfile20`; do echo "provides = $i" >> .PKGINFO; done
|
||||
rm -rf *tempfile* provisions-initial-check-list final-check-list
|
||||
|
@ -3430,7 +3431,7 @@ if [ $(grep -q '^Depends:\|^Pre-Depends:' control; echo $?) -eq 0 ]; then
|
|||
done
|
||||
done
|
||||
sed -e s'/(/ /g' -e s'/)//g' tempfile01 | sort > tempfile02
|
||||
grep -v 'libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > dependencies-initial-check-list
|
||||
grep -v 'xlibs\|libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > dependencies-initial-check-list
|
||||
packages-names-translator
|
||||
for i in `sort -u tempfile20`; do echo "depend = $i" >> .PKGINFO; done
|
||||
rm -rf *tempfile* dependencies-initial-check-list final-check-list
|
||||
|
@ -3444,7 +3445,7 @@ if [ $(grep -q '^Recommends:\|^Suggests:' control; echo $?) -eq 0 ]; then
|
|||
done
|
||||
done
|
||||
sed -e s'/(/ /g' -e s'/)//g' tempfile01 | sort > tempfile02
|
||||
grep -v 'libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > optional-dependencies-initial-check-list
|
||||
grep -v 'xlibs\|libgl1\|libglu1\|default-jre\|python:any\|libpango\|fonts-freefont-ttf\|dpkg\|apt-get\|aptitude' tempfile02 > optional-dependencies-initial-check-list
|
||||
packages-names-translator
|
||||
for i in `sort -u tempfile20`; do
|
||||
j=$(echo $i | sed s'/=\|>\|</ /' | gawk '{print $1}')
|
||||
|
|
Loading…
Reference in New Issue
Block a user