diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-02 19:05:26 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-02 19:05:26 +0200 |
commit | 3668d996feaa847d9fa0617cbf3ad3f9ea3ae703 (patch) | |
tree | 1ea5dd0c45ae2cfcec8c22c03ecb45dbe4703301 /bin | |
parent | 822dcacdf7729ac16e83f0aa5f2464412de806a1 (diff) |
bin/pkg: Added list_is_installed and list_exists, will replace check_installed and check_valid
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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)" ] } |