diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/help.c | 21 | ||||
-rw-r--r-- | main/main.c | 2 |
2 files changed, 0 insertions, 23 deletions
diff --git a/main/help.c b/main/help.c index 0c33ccb4b..1c6b3e6f7 100644 --- a/main/help.c +++ b/main/help.c @@ -505,24 +505,3 @@ void ensure_pathname_nonexisting(const char *pathname) { debug(dbg_eachfile,"ensure_pathname_nonexisting running rm -rf"); waitsubproc(c1,"rm cleanup",0); } - -void check_libver (void) { - int c; - if (!strcmp(DPKG_VERSION, libdpkgver())) return; - /* ooh, we have a version mismatch with the library, - * continue, but warn LOUDLY about possible problems. - */ - fprintf(stderr, _("\ -WARNING: A mismatch between dpkg and libdpkg.so has\n\ -been detected. Somehow, your system has a different\n\ -version of dpkg than the library that is uses. This\n\ -may not cause any problems, but it does reflect a\n\ -serious condition. You should really reinstall the dpkg\n\ -package before continuing.\n\ -\n\ -Press 'Q' to exit, any other key to continue: ")); - c= getc(stdin); - if (c == 'q' || c == 'Q') - ohshite(_("Quitting at user request")); - return; -} diff --git a/main/main.c b/main/main.c index a273d1ca4..0a215758b 100644 --- a/main/main.c +++ b/main/main.c @@ -396,8 +396,6 @@ int main(int argc, const char *const *argv) { umask(022); /* Make sure all our status databases are readable. */ - check_libver(); - for (argvs=argv+1; (argp= *argvs) && *argp++=='-'; argvs++) { if (*argp++=='-') { if (!strcmp(argp,"-")) break; |