diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-19 06:11:11 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-19 06:11:11 +0000 |
commit | 385666c71f57c2f605aab048603d64e03d239fb4 (patch) | |
tree | b3b54ab858e9997d4b8dd75ee78c41321705dcbb | |
parent | 39d045a383ab5c952041f461eb2775affe106de7 (diff) | |
download | rpmdrake-385666c71f57c2f605aab048603d64e03d239fb4.tar rpmdrake-385666c71f57c2f605aab048603d64e03d239fb4.tar.gz rpmdrake-385666c71f57c2f605aab048603d64e03d239fb4.tar.bz2 rpmdrake-385666c71f57c2f605aab048603d64e03d239fb4.tar.xz rpmdrake-385666c71f57c2f605aab048603d64e03d239fb4.zip |
Don't show selections in read-only mode
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ N("You are launching this program as a normal user. You will not be able to perform modifications on the system, but you may still browse the existing database."), yesno => 1, text => { no => N("Cancel"), yes => N("Ok") }) or myexit(0)); -my $dont_show_selections = 0; +my $dont_show_selections = $> ? 1 : 0; #- /usr/share/rpmlint/TagsCheck.py (duplicates are normal, so that we are not too far away from .py) my @valid_groups = ( |