Use a RE to find the X dependency instead of hardcoding.
This commit is contained in:
parent
4230758a38
commit
90405e668b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59516
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ fi
|
|||
logs="$dir/gen"
|
||||
pkgs="$ports/packages/All"
|
||||
scripts="$dir"
|
||||
xdep="XFree86-3.3.6_10"
|
||||
xdep_re="^XFree86-3.3.6_1[0-9]$"
|
||||
|
||||
#
|
||||
##############################################################################
|
||||
|
@ -76,7 +76,7 @@ if [ X$ans != Xn -a X$ans != XN ]; then
|
|||
for disc in `cat config | grep -v '#' | sed -e 's/[ ].*//'`; do
|
||||
echo "disc $disc" >> $logs/need.ALL
|
||||
$scripts/print-cdrom-packages.sh `echo $disc | sed -e 's/^disc//'` \
|
||||
$ports | grep -v $xdep | tee $logs/need.$disc >> $logs/need.ALL
|
||||
$ports | grep -Ev $xdep_re | tee $logs/need.$disc >> $logs/need.ALL
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue