summaryrefslogtreecommitdiffstats
path: root/mdkapplet-upgrade-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-13 23:29:05 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-13 23:29:05 +0000
commita35926e4d6bc56652593a5d91e56c68419244521 (patch)
tree24a1a936f9d3c85c9bec22aeec29fe31deaae782 /mdkapplet-upgrade-helper
parentad9c68f92602e140bb3948ac97b542bd6ecfa75f (diff)
downloadmgaonline-a35926e4d6bc56652593a5d91e56c68419244521.tar
mgaonline-a35926e4d6bc56652593a5d91e56c68419244521.tar.gz
mgaonline-a35926e4d6bc56652593a5d91e56c68419244521.tar.bz2
mgaonline-a35926e4d6bc56652593a5d91e56c68419244521.tar.xz
mgaonline-a35926e4d6bc56652593a5d91e56c68419244521.zip
(run_gurpmi) reindent
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-xmdkapplet-upgrade-helper26
1 files changed, 13 insertions, 13 deletions
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper
index 3d061d47..fc203df4 100755
--- a/mdkapplet-upgrade-helper
+++ b/mdkapplet-upgrade-helper
@@ -67,21 +67,21 @@ sub run_gurpmi() {
fork_gurpmi(@initial_args);
undef @initial_args;
my $status = $? >> 8;
- if ($refork_gurpmi && $status) {
- $refork_gurpmi--;
- } else {
- undef $refork_gurpmi;
- }
+ if ($refork_gurpmi && $status) {
+ $refork_gurpmi--;
+ } else {
+ undef $refork_gurpmi;
+ }
if (!$refork_gurpmi) {
- if ($status) {
- ugtk2::ask_warn(N("Error"),
- N("Installation failed"),
- N("Installation logs can be found in '%s'", $log_file)
- );
- } else {
- upgrade_distro_congratulations();
- }
+ if ($status) {
+ ugtk2::ask_warn(N("Error"),
+ N("Installation failed"),
+ N("Installation logs can be found in '%s'", $log_file)
+ );
+ } else {
+ upgrade_distro_congratulations();
+ }
}
}
}