Signed-off-by: Jiri Moskovcak <jmoskovc(a)redhat.com>
---
abrt.spec.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/abrt.spec.in b/abrt.spec.in
index 5f646e5..11faf2e 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -492,6 +492,8 @@ if [ $1 -eq 0 ] ; then
fi
%posttrans
+# update the old problem dirs to contain "type" element
+abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr
-d ' '); cd $abrtdir 2>/dev/null && for i in `find . -name
"analyzer" 2>/dev/null`; do len=${#i};cp "$i"
"${i:0:$len-9}/type"; done;
service abrtd condrestart >/dev/null 2>&1 || :
%posttrans addon-ccpp
--
1.8.3.1
Show replies by date