summaryrefslogtreecommitdiffstats
path: root/icons
Commit message (Expand)AuthorAgeFilesLines
* Move icons to hicolor theme (WIP)Rémi Verschelde2017-03-0412-0/+1901
* another icon changeuser/animtim/designWorkTimothée Giet2016-02-274-8/+135
* new iconTimothée Giet2016-02-254-0/+235
* update icons for MageiaAnne Nicolas2011-05-143-0/+0
* Synthesized commit during git-svn import combining previous Mandriva history ...2.77.22Mageia SVN-Git Migration2011-05-143-0/+0
* - readded filesDaouda Lo2004-03-173-0/+0
* - remove old iconsDaouda Lo2004-03-173-0/+0
* - readded iconsDaouda Lo2004-02-183-0/+0
* - remove iconsDaouda Lo2004-02-183-0/+0
* New iconsDavid Baudens2002-07-313-0/+0
* add iconsDaouda Lo2001-09-043-0/+0
y - use specified HTTP proxy, the port number is assumed to be 1080 by default (format is <proxyhost[:port]>). ") . N(" --proxy-user - specify user and password to use for proxy authentication (format is <user:password>). ") . N(" --update - update only update media. ") . N(" --no-md5sum - disable MD5SUM file checking. ") . N(" --force-key - force update of gpg key. ") . N(" -a - select all non-removable media. ") . N(" -c - clean headers cache directory. ") . N(" -f - force generation of hdlist files. ") . N(" -q - quiet mode. ") . N(" -v - verbose mode. "); exit 0; } sub main { our @toupdates; my $urpm = new urpm; $options{force} = 0; $options{noclean} = $options{verbose} = 1; urpm::args::parse_cmdline(urpm => $urpm); $options{verbose} > 0 or $urpm->{log} = sub {}; if ($< != 0) { $urpm->{fatal}(1, N("Only superuser is allowed to update media")); } $urpm->read_config; exists $options{limit_rate} or $options{limit_rate} = $urpm->{options}{'limit-rate'}; my @entries = map { $_->{name} } @{$urpm->{media}}; if ($options{all}) { @entries == 0 and die N("nothing to update (use urpmi.addmedia to add a media)\n"); } else { $urpm->select_media(@toupdates); #- force ignored media to be returned alive. my $something_todo = 0; foreach (@{$urpm->{media}}) { $options{update} && $_->{update} and $_->{modified} = 1; $_->{modified} and delete $_->{ignore}; $_->{modified} and ++$something_todo; } $something_todo or die N("the entry to update is missing\n(one of %s)\n", join(", ", @entries)); } $urpm->update_media(%options, callback => \&urpm::download::sync_logger); #- try to umount removable device which may have been mounted. $urpm->try_umounting_removables; } main();