summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-13 23:11:35 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-13 23:11:35 +0000
commit2a50093841b4fe60df317808f09c5897858d881f (patch)
treee5d1572dd4008d431c01206373d17823d3c2cc02
parent647145c25b3eae7b63a742a7b58a30c9f8c94c54 (diff)
downloadmgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar
mgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar.gz
mgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar.bz2
mgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar.xz
mgaonline-2a50093841b4fe60df317808f09c5897858d881f.zip
ask for root password earlier, before removing media (#44771)
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-upgrade-helper1
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5556c46e..39b197f7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,8 @@
- mdkapplet
o log reason as well as current & target distro for distro upgrade
o do not crash if image cannot be loaded (#44750)
- o split upgrade code into mdkapplet-upgrade-helper
+ o split upgrade code into mdkapplet-upgrade-helper:
+ * ask for root password earlier, before removing media (#44771)
Version 2.55 - 10 October 2008
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper
index 05505d8f..323f4071 100755
--- a/mdkapplet-upgrade-helper
+++ b/mdkapplet-upgrade-helper
@@ -25,6 +25,7 @@ use POSIX ":sys_wait_h";
use lib qw(/usr/lib/libDrakX);
use standalone; # for explanations
use common;
+BEGIN { require_root_capability() }
use run_program;
use feature 'state';