diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 16:58:58 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 16:58:58 +0200 |
commit | 1c7e8d2617d93daac1fe0c38c0279435331bb152 (patch) | |
tree | cb801169ccccebad45293071694f877c73447823 /src/version.c | |
parent | 65826761508d1b9effd62e7665d6db23b6fabe2f (diff) | |
download | apk-tools-1c7e8d2617d93daac1fe0c38c0279435331bb152.tar.gz apk-tools-1c7e8d2617d93daac1fe0c38c0279435331bb152.tar.bz2 apk-tools-1c7e8d2617d93daac1fe0c38c0279435331bb152.tar.xz apk-tools-1c7e8d2617d93daac1fe0c38c0279435331bb152.zip |
pkg: dependencies to specific package checksum
When package is installed from commandline, we should always
install that specific instance of package (never favor repository
version if it has difference identity). Otherwise we might not
always end-up installing the .apk given on command line. The
dependency is now against specific checksum identity (marked
with >< dependency comparison). Fixes #492.
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 34c5f1a..2de886a 100644 --- a/src/version.c +++ b/src/version.c @@ -151,6 +151,8 @@ const char *apk_version_op_string(int mask) return ">="; case APK_VERSION_GREATER: return ">"; + case APK_DEPMASK_CHECKSUM: + return "><"; default: return "?"; } |