Added ability to wipe_data and update_package at the same time.

This will be needed for a future project I am working on,
OpenUpdater.
diff --git a/recovery.c b/recovery.c
index 6b16470..7759568 100644
--- a/recovery.c
+++ b/recovery.c
@@ -515,6 +515,7 @@
     }
 
     if (update_package != NULL) {
+        if (wipe_data && erase_root("DATA:")) status = INSTALL_ERROR;
         status = install_package(update_package);
         if (status != INSTALL_SUCCESS) ui_print("Installation aborted.\n");
     } else if (wipe_data) {
@@ -545,4 +546,4 @@
 
 int get_allow_toggle_display() {
     return allow_display_toggle;
-}
\ No newline at end of file
+}