rpm -Uvh
or rpm -Uvh --oldpackage
. Of course, Revisor's Makefiles also allow make install, but that leaves a number of unmanaged files on your computer you would have to track down manually in order to remove Revisor completely.
./switchhere
script:
$ ./switchhere
./switchhere
script does the following:
/etc/revisor/
to $PWD
/conf/
so that /etc/revisor/revisor.conf
, the primary configuration file, and /etc/revisor/conf.d/
, the configuration directory, are valid (the symlink causes the actual file and directory to be found in $PWD
/conf/
)
/usr/share/revisor/
directory so that a couple of symlinks can be created from within that directory:
/usr/share/revisor/ui => $PWD
/revisor/modgui/glade/
/usr/share/revisor/pixmaps => $PWD
/revisor/modgui/glade/pixmaps/
/usr/share/revisor/comps => $PWD
/conf/
/usr/share/revisor/ui => $PWD
/glade/
/usr/share/revisor/pixmaps => $PWD
/glade/pixmaps/
/usr/share/revisor/comps => $PWD
/conf/
/usr/share/man/man$x
/
directories to the source for these man pages in $PWD
/doc/
.
$ ./revisor.py
$ rpmquery --specfile --qf="%{REQUIRES}\n" revisor.spec | sort | uniq | xargs -n 1 repoquery --requires --alldeps --resolve