mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
PackageManager: Little fix
svn path=/trunk/; revision=14634
This commit is contained in:
parent
887849790a
commit
837c3298c7
1 changed files with 7 additions and 8 deletions
|
@ -22,43 +22,42 @@ int main (int argc, char **argv)
|
||||||
if(argc<2)
|
if(argc<2)
|
||||||
return Help();
|
return Help();
|
||||||
|
|
||||||
|
|
||||||
// install a package
|
// install a package
|
||||||
if (argv[1] == "install")
|
if (!strcmp(argv[1], "install"))
|
||||||
Install();
|
Install();
|
||||||
|
|
||||||
// install a package from source
|
// install a package from source
|
||||||
else if (argv[1] == "src-inst")
|
else if (!strcmp(argv[1], "src-inst"))
|
||||||
{
|
{
|
||||||
wprintf(L"Sorry but I can't do that yet. \n");
|
wprintf(L"Sorry but I can't do that yet. \n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// update a package
|
// update a package
|
||||||
else if (argv[1] == "update")
|
else if (!strcmp(argv[1], "update"))
|
||||||
{
|
{
|
||||||
wprintf(L"Sorry but I can't do that yet. \n");
|
wprintf(L"Sorry but I can't do that yet. \n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// update everything
|
// update everything
|
||||||
else if (argv[1] == "dist-upgrade")
|
else if (!strcmp(argv[1], "dist-upgrade"))
|
||||||
{
|
{
|
||||||
wprintf(L"Sorry but I can't do that yet. \n");
|
wprintf(L"Sorry but I can't do that yet. \n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove a package
|
// remove a package
|
||||||
else if (argv[1] == "remove")
|
else if (!strcmp(argv[1], "remove"))
|
||||||
{
|
{
|
||||||
wprintf(L"Sorry but I can't do that yet. \n");
|
wprintf(L"Sorry but I can't do that yet. \n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// search for a package
|
// search for a package
|
||||||
else if (argv[1] == "show")
|
else if (!strcmp(argv[1], "show"))
|
||||||
{
|
{
|
||||||
Show();
|
Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
// search for a package
|
// search for a package
|
||||||
else if (argv[1] == "search")
|
else if (!strcmp(argv[1], "search"))
|
||||||
{
|
{
|
||||||
wprintf(L"Sorry but I can't do that yet. \n");
|
wprintf(L"Sorry but I can't do that yet. \n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue