From ee4351e55d54b597d0f3ee0972d5ad82b949c82f Mon Sep 17 00:00:00 2001 From: Arthur Barr Date: Tue, 4 Jun 2019 14:27:58 +0100 Subject: [PATCH] Remove custom RPM notices file --- install-mq.sh | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/install-mq.sh b/install-mq.sh index 4ca54b2..36a691f 100644 --- a/install-mq.sh +++ b/install-mq.sh @@ -97,17 +97,6 @@ $UBUNTU && PAM_FILE=/etc/pam.d/common-password $RPM && PAM_FILE=/etc/pam.d/password-auth sed -i 's/password\t\[success=1 default=ignore\]\tpam_unix\.so obscure sha512/password\t[success=1 default=ignore]\tpam_unix.so obscure sha512 minlen=8/' $PAM_FILE -if ($RPM); then - install --directory --mode 0444 --owner mqm --group root /licenses - NOTICES="/licenses/installed_package_notices" - touch ${NOTICES} - chmod 0444 ${NOTICES} - set +x - for p in $(rpm -qa | sort) - do - rpm -qi $p >> ${NOTICES} - printf "\n" >> ${NOTICES} - printf "$p\n" - done - set -x -fi \ No newline at end of file +# List all the installed packages, for the build log +$RPM && rpm -q --all || true +$UBUNTU && dpkg --list || true