/* * Copyright (c) 2000, 2001 Red Hat, Inc. * * 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 * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * A copy of the GNU General Public License can be found at * http://www.gnu.org/ * * Written by DJ Delorie * */ /* The purpose of this file is to run all the post-install scripts in their various forms. */ #include "dialog.h" #include "find.h" #include "mount.h" #include "script.h" #include "state.h" #include "FindVisitor.h" #include "package_db.h" #include "package_meta.h" #include "resource.h" #include "threebar.h" #include "Exception.h" #include "postinstallresults.h" #include #include extern ThreeBarProgressPage Progress; extern PostInstallResultsPage PostInstallResults; // --------------------------------------------------------------------------- // // --------------------------------------------------------------------------- class RunFindVisitor : public FindVisitor { public: RunFindVisitor (std::vector