Update packagemanager

This commit is contained in:
damnoodle 2022-08-23 11:39:49 -05:00 committed by GitHub
parent a2efb9ad62
commit 77d4a43470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ $debug = FALSE;
$prog = pathinfo(__FILE__, PATHINFO_FILENAME); $prog = pathinfo(__FILE__, PATHINFO_FILENAME);
$usage = <<<EOF $usage = <<<EOF
Process package files in NerdPack config. Download and install, Process package files in SlackPack config. Download and install,
delete and uninstall, based on the config value and [options]. delete and uninstall, based on the config value and [options].
Usage: packagemanager [options] Usage: packagemanager [options]
@ -48,7 +48,7 @@ $argu = (array_key_exists("u", $args) || array_key_exists("uninstall", $args));
$argv = (array_key_exists("v", $args) || array_key_exists("verbose", $args)); $argv = (array_key_exists("v", $args) || array_key_exists("verbose", $args));
$debug = array_key_exists("debug", $args); $debug = array_key_exists("debug", $args);
require_once '/usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php'; require_once '/usr/local/emhttp/plugins/NerdPack/include/SlackPackHelpers.php';
require_once '/usr/local/emhttp/plugins/NerdPack/include/DownloadHelpers.php'; require_once '/usr/local/emhttp/plugins/NerdPack/include/DownloadHelpers.php';
/* debug */ /* debug */
@ -168,4 +168,4 @@ foreach (array("_GET","_POST","_COOKIE","_FILES","argv","argc","_SERVER") as $i)
debug("\nDECLARED VARIABLES:\n".print_r($defined_vars, true)); debug("\nDECLARED VARIABLES:\n".print_r($defined_vars, true));
unset($defined_vars); unset($defined_vars);
?> ?>