+ getValue(elements, PKGCMD_CB_KEY_ABOUT_VALUE)
+ ")\n";
} else if(RETURN_CB_INSTALL_PERCENT.equals(key)) {
- if (lastMeaningfulOutput.startsWith(OUTPUT_INSTALL_START)
- || lastMeaningfulOutput.startsWith(OUTPUT_ING)) {
+ // Because of pkgcmd's percentage key of uninstallation process and installation are same,
+ // we just set output message "." only.
+// if (lastMeaningfulOutput.startsWith(OUTPUT_INSTALL_START)
+// || lastMeaningfulOutput.startsWith(OUTPUT_ING)) {
meaningfulOutput = OUTPUT_ING;
- } else {
- meaningfulOutput = OUTPUT_INSTALL_START;
- }
+// } else {
+// meaningfulOutput = OUTPUT_INSTALL_START;
+// }
} else if (RETURN_CB_UNINSTALL_PERCENT.equals(key)) {
- if (lastMeaningfulOutput.startsWith(OUTPUT_UNINSTALL_START)
- || lastMeaningfulOutput.startsWith(OUTPUT_ING)) {
+ // Because of pkgcmd's percentage key of uninstallation process and installation are same,
+ // we just set output message "." only.
+// if (lastMeaningfulOutput.startsWith(OUTPUT_UNINSTALL_START)
+// || lastMeaningfulOutput.startsWith(OUTPUT_ING)) {
meaningfulOutput = OUTPUT_ING;
- } else {
- meaningfulOutput = OUTPUT_UNINSTALL_START;
- }
+// } else {
+// meaningfulOutput = OUTPUT_UNINSTALL_START;
+// }
} else {
meaningfulOutput = "\n" + key
+ " : "