From c97b418c59bddea34aa8e11bb868cabf998f65c4 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 28 Apr 2005 18:03:22 +0000 Subject: [PATCH] * verifyInternalPackages(): added * added some sanity checks for a sany environment when internalizing the package management git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2065 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/pkgmgmt | 59 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) diff --git a/util-vserver/scripts/pkgmgmt b/util-vserver/scripts/pkgmgmt index 5e3bb41..0db4263 100755 --- a/util-vserver/scripts/pkgmgmt +++ b/util-vserver/scripts/pkgmgmt @@ -1,7 +1,7 @@ #!/bin/bash # $Id$ -# Copyright (C) 2004 Enrico Scholz +# Copyright (C) 2004,2005 Enrico Scholz # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ function showVersion() vpkg $PACKAGE_VERSION -- shows information about packages in vservers This program is part of $PACKAGE_STRING -Copyright (C) 2004 Enrico Scholz +Copyright (C) 2004,2005 Enrico Scholz This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty." exit 0 @@ -164,6 +164,51 @@ function _umountFilesystems() test -n "$is_ok" } +# Usage: verifyInternalPackages