if(argc<2)\r
return Help();\r
\r
-\r
// install a package\r
- if (argv[1] == "install") \r
+ if (!strcmp(argv[1], "install")) \r
Install();\r
\r
// install a package from source\r
- else if (argv[1] == "src-inst")\r
+ else if (!strcmp(argv[1], "src-inst"))\r
{\r
wprintf(L"Sorry but I can't do that yet. \n");\r
}\r
\r
// update a package\r
- else if (argv[1] == "update")\r
+ else if (!strcmp(argv[1], "update"))\r
{\r
wprintf(L"Sorry but I can't do that yet. \n");\r
}\r
\r
// update everything\r
- else if (argv[1] == "dist-upgrade")\r
+ else if (!strcmp(argv[1], "dist-upgrade"))\r
{\r
wprintf(L"Sorry but I can't do that yet. \n");\r
}\r
\r
// remove a package\r
- else if (argv[1] == "remove")\r
+ else if (!strcmp(argv[1], "remove"))\r
{\r
wprintf(L"Sorry but I can't do that yet. \n");\r
}\r
\r
// search for a package\r
- else if (argv[1] == "show")\r
+ else if (!strcmp(argv[1], "show"))\r
{\r
Show();\r
}\r
\r
// search for a package\r
- else if (argv[1] == "search")\r
+ else if (!strcmp(argv[1], "search"))\r
{\r
wprintf(L"Sorry but I can't do that yet. \n");\r
}\r