diff --git a/b b/b
new file mode 100755
index 00000000..5c5451ca
--- /dev/null
+++ b/b
@@ -0,0 +1,3 @@
+#!/bin/bash
+./BUILDME.sh skip-kernel-rebuild $@
+
diff --git a/recovery/icons.qrc b/recovery/icons.qrc
index 62048506..5d7232a3 100644
--- a/recovery/icons.qrc
+++ b/recovery/icons.qrc
@@ -81,5 +81,6 @@
icons/right.JPG
icons/up.JPG
joy_keys.json
+ icons/skull_old.png
diff --git a/recovery/icons/skull_old.png b/recovery/icons/skull_old.png
new file mode 100755
index 00000000..e8211db9
Binary files /dev/null and b/recovery/icons/skull_old.png differ
diff --git a/recovery/mainwindow.cpp b/recovery/mainwindow.cpp
index 71c22107..acb6db66 100644
--- a/recovery/mainwindow.cpp
+++ b/recovery/mainwindow.cpp
@@ -940,6 +940,15 @@ void MainWindow::on_actionWrite_image_to_disk_triggered()
return;
}
+ if (_numBootableOS)
+ {
+ if ( !_silent && QMessageBox::warning(this,
+ tr("Confirm"),
+ tr("Warning: Some OSes are already installed!\nContinuing will DELETE them.\n\nDo you want to continue?"),
+ QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes) == QMessageBox::No)
+ return;
+ }
+
_newList.clear();
/* Get list of all selected OSes and see if any are unsupported */
foreach (QListWidgetItem *item, selected)
@@ -2535,6 +2544,15 @@ void MainWindow::updateNeeded()
}
ui->actionWrite_image_to_disk->setEnabled(enableWrite);
+ QIcon newIcon;
+ if (_numBootableOS)
+ newIcon.addFile(":/icons/skull_old.png");
+ else
+ newIcon.addFile(":/icons/backups.png");
+ ui->actionWrite_image_to_disk->setIcon(newIcon);
+
+
+
QPalette p = ui->neededLabel->palette();
if (p.color(QPalette::WindowText) != colorNeededLabel)
{