diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-25 14:18:23 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-25 14:18:23 +0200 |
commit | f03f8111411de6ece4a810fadacd5e019e167cfe (patch) | |
tree | 4f66fcc09f6639c9ab0b6cb2abe4b352acb310f4 /scripts | |
parent | d33a83675a45dd76868450686346a5e92fcefd6f (diff) | |
download | abrt-f03f8111411de6ece4a810fadacd5e019e167cfe.tar.gz abrt-f03f8111411de6ece4a810fadacd5e019e167cfe.tar.xz abrt-f03f8111411de6ece4a810fadacd5e019e167cfe.zip |
update some utility devel scripts, no impact on users
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dbg_rpminst | 6 | ||||
-rwxr-xr-x | scripts/dbg_rpmuninst | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/dbg_rpminst b/scripts/dbg_rpminst index 8255777a..36caab19 100755 --- a/scripts/dbg_rpminst +++ b/scripts/dbg_rpminst @@ -1,5 +1,11 @@ #!/bin/sh +yum -y -C erase 'abrt*' +yum -y -C --nogpgcheck localinstall *.rpm +killall -HUP dbus-daemon + +exit + while rpm -qa | grep abrt >/dev/null; do rpm -qa | grep abrt | while read package; do echo "$package: rpm -e `basename "$package" .rpm`" diff --git a/scripts/dbg_rpmuninst b/scripts/dbg_rpmuninst index 9e24e3f5..0d0d0736 100755 --- a/scripts/dbg_rpmuninst +++ b/scripts/dbg_rpmuninst @@ -1,5 +1,9 @@ #!/bin/sh +yum -C -y erase 'abrt*' + +exit + while rpm -qa | grep abrt >/dev/null; do rpm -qa | grep abrt | while read package; do echo "$package: rpm -e `basename "$package" .rpm`" |