CHips L MINI SHELL

CHips L pro

Current Path : /proc/3/task/3/cwd/usr/local/ssl/lib/rpm/
Upload File :
Current File : //proc/3/task/3/cwd/usr/local/ssl/lib/rpm/rpm.daily

#!/bin/sh

tmpfile=`/bin/mktemp /var/log/rpmpkgs.XXXXXXXXX` || exit 1
/bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \
	| /bin/sort > "$tmpfile"

if [ -s "$tmpfile" ]; then
	cp "$tmpfile" /var/log/rpmpkgs && /bin/chmod 0644 /var/log/rpmpkgs
fi

rm -f "$tmpfile"

Copyright 2K16 - 2K18 Indonesian Hacker Rulez