6 lines
146 B
Bash
Executable File
6 lines
146 B
Bash
Executable File
#!/bin/sh
|
|
|
|
umask 077
|
|
rpm -qa --qf '%{NAME}-%|SERIAL?{%{SERIAL}:}|%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n' 2>&1 |
|
|
LC_COLLATE=C sort >/var/log/rpmpkgs
|