summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 8b7177b..096bf33 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -146,6 +146,15 @@ vcs_upgrade () {
}
## List stuff
+
+list_is_installed () {
+ grep ^"$1 " $PDIR/.list
+}
+
+list_exists () {
+ grep ^"$1 " $PDIR/.list-remote
+}
+
list_incoming () {
[ "$(list_local_version $1)" != "$(list_remote_version $1)" ]
}