Added
Link Here
|
0 |
- |
1 |
--- modules/packages.orig 2009-05-21 17:13:53 UTC |
|
|
2 |
+++ modules/packages |
3 |
@@ -7,20 +7,20 @@ APPDIR=${APPDIR:-..} |
4 |
|
5 |
sect "Packages information"; |
6 |
|
7 |
-NUMP=`pkg_info | wc -l | awk '{print $1}'` |
8 |
-OUTD=`pkg_version -Iv | grep -c "needs updating"` |
9 |
+NUMP=`pkg info | wc -l | awk '{print $1}'` |
10 |
+OUTD=`pkg version -v | grep -c "needs updating"` |
11 |
|
12 |
echo -e "There are $NUMP packages installed in the system and $OUTD of them needs updating." |
13 |
echo -e "${C_BOLD_S}Note that this number may be inaccurate, as your ports tree may be outdated too.${C_BOLD_E}\n" |
14 |
|
15 |
if is_verbose 1; then |
16 |
- pkg_info |
17 |
+ pkg info |
18 |
echo |
19 |
else |
20 |
- info "Run pkg_info(1) to see a full list of installed packages." |
21 |
+ info "Run pkg info to see a full list of installed packages." |
22 |
fi |
23 |
|
24 |
-info "Use pkg_version(1) to inspect what packages are outdated." |
25 |
+info "Use pkg version to inspect what packages are outdated." |
26 |
info "Use the portsnap(8) or csup(1) tool to update your ports tree." |
27 |
|
28 |
echo |