HOME SHELL

NULLCOMMUNITY
 LiteSpeed
 Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64
 safemode : OFF
 MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF
  >  / lib / rpm /

Server Ip : 104.21.78.54




Filename/lib/rpm/rpm.daily
Size296
Permissionrw-r--r--
Owner
Create time08-Dec-2022 22:35
Last modified24-Nov-2021 16:33
Last accessed24-Nov-2021 16:33
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/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
rm -f "$tmpfile"
exit 1
fi

/bin/mv "$tmpfile" /var/log/rpmpkgs
/bin/chmod 0644 /var/log/rpmpkgs