Skip to content

Commit

Permalink
Fix installing
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Feb 17, 2024
1 parent 1aa9942 commit bbae029
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Backends/UbuntuDrivers.vala
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ public class SettingsDaemon.Backends.UbuntuDrivers : Object {
available_drivers = new HashTable<string, GenericArray<string>> (str_hash, str_equal);
available_drivers_with_installed = new HashTable<string, bool> (str_hash, str_equal);

task = new Pk.Task () {
only_download = true
};
task = new Pk.Task ();

cancellable = new GLib.Cancellable ();

Expand Down Expand Up @@ -188,8 +186,6 @@ public class SettingsDaemon.Backends.UbuntuDrivers : Object {

available_drivers_with_installed[pkg_name] = true;

Pk.offline_trigger (REBOOT);

var notification = new Notification (_("Restart required"));
notification.set_body (_("Please restart your system to finalize driver installation"));
notification.set_icon (new ThemedIcon ("system-reboot"));
Expand Down

0 comments on commit bbae029

Please sign in to comment.