#!/usr/bin/perl $DIR = "/var/lib/urpmi"; $BASE = "$DIR/autoirpm"; $AUTO_INSTALL_BIN_LIST = "$BASE.binaries"; $INSTALL_SCRIPT_REP = "$BASE.scripts"; open F, $AUTO_INSTALL_BIN_LIST or die; map { chop; remove_links_and_scripts($_) } ; close F; sub remove_links_and_scripts($) { my ($rpm, @progs) = split; my $script = "$INSTALL_SCRIPT_REP/$rpm"; -e $script or return 0; # not installed for this package foreach (<@progs>) { readlink "/$_" ne $script and next; unlink "/$_" or warn "removing $_ failed"; } unlink $script or warn "removing $script failed"; } go'/> index : rpmdrake
Mageia Graphical Package ManagerThierry Vignaud [tv]
aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorFunda Wang <fwang@mandriva.org>2005-06-15 02:55:06 +0000
committerFunda Wang <fwang@mandriva.org>2005-06-15 02:55:06 +0000
commit4af75a5ec5e85c6846e67138d1a5ba0009e465f6 (patch)
treec29b02e4f5bcff27006fa007da297a5a139cdfef /po
parent55b5c81c453d1f0119cdaa03e47d95b866161a70 (diff)
downloadrpmdrake-4af75a5ec5e85c6846e67138d1a5ba0009e465f6.tar
rpmdrake-4af75a5ec5e85c6846e67138d1a5ba0009e465f6.tar.gz
rpmdrake-4af75a5ec5e85c6846e67138d1a5ba0009e465f6.tar.bz2
rpmdrake-4af75a5ec5e85c6846e67138d1a5ba0009e465f6.tar.xz
rpmdrake-4af75a5ec5e85c6846e67138d1a5ba0009e465f6.zip
Updated POT file.
Diffstat (limited to 'po')