forked from cris-b/oma-welcome
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
if which haruna &>/dev/null; then | ||
kdialog --title $"OpenMandriva" --msgbox $"haruna is already installed." | ||
else | ||
APP=$"Haruna" | ||
DB=$(kdialog --title $"OpenMandriva" --progressbar $"Installing $APP" 0) | ||
qdbus $DB org.kde.kdialog.ProgressDialog.showCancelButton false | ||
pkexec dnf install --assumeyes haruna | ||
qdbus $DB org.kde.kdialog.ProgressDialog.close | ||
if which haruna &>/dev/null; then | ||
kdialog --title $"OpenMandriva" --msgbox $"Installation succeeded." | ||
else | ||
kdialog --title $"OpenMandriva" --msgbox $"Installation failed." | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
if which nheko &>/dev/null; then | ||
kdialog --title $"OpenMandriva" --msgbox $"nheko is already installed." | ||
else | ||
APP=$"Nheko" | ||
DB=$(kdialog --title $"OpenMandriva" --progressbar $"Installing $APP" 0) | ||
qdbus $DB org.kde.kdialog.ProgressDialog.showCancelButton false | ||
pkexec dnf install --assumeyes nheko | ||
qdbus $DB org.kde.kdialog.ProgressDialog.close | ||
if which nheko &>/dev/null; then | ||
kdialog --title $"OpenMandriva" --msgbox $"Installation succeeded." | ||
else | ||
kdialog --title $"OpenMandriva" --msgbox $"Installation failed." | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
if which strawberry &>/dev/null; then | ||
kdialog --title $"OpenMandriva" --msgbox $"strawberry is already installed." | ||
else | ||
APP=$"Strawberry" | ||
DB=$(kdialog --title $"OpenMandriva" --progressbar $"Installing $APP" 0) | ||
qdbus $DB org.kde.kdialog.ProgressDialog.showCancelButton false | ||
pkexec dnf install --assumeyes strawberry | ||
qdbus $DB org.kde.kdialog.ProgressDialog.close | ||
if which strawberry &>/dev/null; then | ||
kdialog --title $"OpenMandriva" --msgbox $"Installation succeeded." | ||
else | ||
kdialog --title $"OpenMandriva" --msgbox $"Installation failed." | ||
fi | ||
fi |