diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-13 23:11:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-13 23:11:35 +0000 |
commit | 2a50093841b4fe60df317808f09c5897858d881f (patch) | |
tree | e5d1572dd4008d431c01206373d17823d3c2cc02 | |
parent | 647145c25b3eae7b63a742a7b58a30c9f8c94c54 (diff) | |
download | mgaonline-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-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet-upgrade-helper | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -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'; |