aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-12 13:37:21 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-12 13:37:21 +0000
commited3d0aa8d70f4ed2657dd73ea10b41f7c0a766df (patch)
treeb2a12c5934d84922d4737aa25ae827f9ea497456 /cron-sh
parent1cd0f7c3063b929b7f002666fa669043d8851437 (diff)
downloadmsec-ed3d0aa8d70f4ed2657dd73ea10b41f7c0a766df.tar
msec-ed3d0aa8d70f4ed2657dd73ea10b41f7c0a766df.tar.gz
msec-ed3d0aa8d70f4ed2657dd73ea10b41f7c0a766df.tar.bz2
msec-ed3d0aa8d70f4ed2657dd73ea10b41f7c0a766df.tar.xz
msec-ed3d0aa8d70f4ed2657dd73ea10b41f7c0a766df.zip
Running rpm -Va with '--noscripts' (#42849).
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 0d8975a..c1001aa 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -177,7 +177,7 @@ if [[ ${CHECK_RPM} == yes ]]; then
rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{INSTALLTIME}\n" | sort > ${RPM_QA_TODAY}
rm -f ${RPM_VA_TODAY}.tmp
- nice --adjustment=+19 rpm -Va | grep '^..5' | sort > ${RPM_VA_TODAY}.tmp
+ nice --adjustment=+19 rpm -Va --noscripts | grep '^..5' | sort > ${RPM_VA_TODAY}.tmp
grep -v '^..........c.' ${RPM_VA_TODAY}.tmp | sed 's/^............//' | sort > ${RPM_VA_TODAY}
grep '^..........c.' ${RPM_VA_TODAY}.tmp | sed 's/^............//' | sort > ${RPM_VA_CONFIG_TODAY}
rm -f ${RPM_VA_TODAY}.tmp