Skip to content

Commit

Permalink
excess command not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Apr 7, 2023
1 parent a04e0eb commit db4236e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,6 @@ impl SimpleComponent for ProgressModel {
if !error_occured {
sender.output(Self::Output::InstallationComplete).unwrap();
tracing::info!("Installation complete");
Command::new("pkexec")
.args([
"sh",
"-c",
"rm /usr/local/bin/rhino-setup \
/usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop",
])
.status()
.unwrap();
Command::new("pkexec")
.args(["sh", "-c", "sudo apt remove -yq rhino-setup"])
.status()
Expand Down

0 comments on commit db4236e

Please sign in to comment.