diff options
author | D. Johnson <fenris02@fedoraproject.org> | 2013-08-26 17:32:43 -0500 |
---|---|---|
committer | D. Johnson <fenris02@fedoraproject.org> | 2013-08-26 17:32:43 -0500 |
commit | edb9696f3a1cf63509f76a593581d96898246e4e (patch) | |
tree | 14edead9c2eb3da5c1b2456f3fcb3729cac08ef1 | |
parent | 11a745064781860208eb2456e9110dd89b2a29b3 (diff) | |
download | cleanup-edb9696f3a1cf63509f76a593581d96898246e4e.tar.gz cleanup-edb9696f3a1cf63509f76a593581d96898246e4e.tar.xz cleanup-edb9696f3a1cf63509f76a593581d96898246e4e.zip |
Adding hard paths to avoid aliases and PATH issues
-rwxr-xr-x | rpm-verify.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpm-verify.sh b/rpm-verify.sh index 00d222e..2b50881 100755 --- a/rpm-verify.sh +++ b/rpm-verify.sh @@ -20,7 +20,7 @@ fi /sbin/ldconfig # Remove temporary files -rm /var/lib/rpm/__db.00? +/bin/rm /var/lib/rpm/__db.00? echo "rpm-Va: This may take 12mins or longer, please wait ... (Might be a good time for coffee)" time /bin/rpm -Va > ${TMPDIR}/rpm-va2_${DS}.txt 2>&1 @@ -39,7 +39,7 @@ if [ \! -f /var/lib/yum/groups/installed ]; then # to groups as objects without having to reinstall. if [ 0$(rpm -qf /etc/redhat-release --qf '%{version}\n') -gt 18 ]; then echo "F19 hack to help from upgrades" - yum group mark convert + /usr/bin/yum group mark convert fi fi @@ -105,9 +105,9 @@ if [ -x /usr/bin/repoquery ]; then fi echo "Collect list of enabled repos" -yum repolist > ${TMPDIR}/YUM-REPOLIST_${DS}.txt +/usr/bin/yum repolist > ${TMPDIR}/YUM-REPOLIST_${DS}.txt -cat - <<EOT +/bin/cat - <<EOT ========== TMPDIR = ${TMPDIR} ========== |