Sha256: 0244e393b480a8515930097134e4c68060f2a9641fbd296eb8025ac1214df416

Contents?: true

Size: 1.38 KB

Versions: 12

Compression:

Stored size: 1.38 KB

Contents

#!/bin/bash
# Copyright (c) 2013-2016 SUSE LLC
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 3 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact SUSE LLC.
#
# To contact SUSE about this file by physical or electronic mail,
# you may find current contact information at www.suse.com

# Print a list of each package with changed managed files followed by a list of
# the changed files, e.g.
#
#   libpulse0-4.0.git.270.g9490a:
#   S.5......  c /etc/pulse/client.conf
#   ntp-4.2.6p5:
#   S.5......  c /etc/ntp.conf

# Exit immediately if a command exits with a non-zero status.
set -e

if [ $UID -ne "0" ]; then
   sudoprefix="sudo -n"
fi

rpm_supports_noscripts_option () {
  rpm -V --noscripts rpm > /dev/null
}

if rpm_supports_noscripts_option; then
  noscripts="--noscripts"
fi

package_contains_verify_script () {
  rpm --scripts -q $1 | grep "verify scriptlet" > /dev/null
}

$sudoprefix rpm -Va --nodeps --nodigest --nosignature --nomtime $noscripts || true

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 inspect_helpers/changed_files.sh
machinery-tool-1.24.0 inspect_helpers/changed_files.sh
machinery-tool-1.23.1 inspect_helpers/changed_files.sh
machinery-tool-1.23.0 inspect_helpers/changed_files.sh
machinery-tool-1.22.3 inspect_helpers/changed_files.sh
machinery-tool-1.22.2 inspect_helpers/changed_files.sh
machinery-tool-1.22.1 inspect_helpers/changed_files.sh
machinery-tool-1.22.0 inspect_helpers/changed_files.sh
machinery-tool-1.21.0 inspect_helpers/changed_files.sh
machinery-tool-1.20.0 inspect_helpers/changed_files.sh
machinery-tool-1.19.0 inspect_helpers/changed_files.sh
machinery-tool-1.18.0 inspect_helpers/changed_files.sh