[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 026c587 02/10: Replace an improperly hardcode
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 026c587 02/10: Replace an improperly hardcoded value with a variable |
Date: |
Fri, 26 Jun 2020 08:05:19 -0400 (EDT) |
branch: master
commit 026c58792dab92f2ad723862b0258db4c81fc789
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Replace an improperly hardcoded value with a variable
---
lmi_setup_02c.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lmi_setup_02c.sh b/lmi_setup_02c.sh
index db65b25..4c23584 100755
--- a/lmi_setup_02c.sh
+++ b/lmi_setup_02c.sh
@@ -33,11 +33,11 @@ umount
/srv/chroot/centos7lmi/srv/chroot/"${CHRTNAME}"/var/cache/apt/archives ||
umount /srv/chroot/centos7lmi/srv/chroot/"${CHRTNAME}"/srv/cache_for_lmi
|| true
umount /srv/chroot/centos7lmi/srv/chroot/"${CHRTNAME}"/dev/pts
|| true
umount /srv/chroot/centos7lmi/srv/chroot/"${CHRTNAME}"/proc
|| true
-umount /srv/chroot/centos7lmi/var/cache/yum || true
-umount /srv/chroot/centos7lmi/var/cache/bullseye || true
-umount /srv/chroot/centos7lmi/srv/cache_for_lmi || true
-umount /srv/chroot/centos7lmi/dev/pts || true
-umount /srv/chroot/centos7lmi/proc || true
+umount /srv/chroot/centos7lmi/var/cache/yum || true
+umount /srv/chroot/centos7lmi/var/cache/"${CODENAME}"|| true
+umount /srv/chroot/centos7lmi/srv/cache_for_lmi || true
+umount /srv/chroot/centos7lmi/dev/pts || true
+umount /srv/chroot/centos7lmi/proc || true
findmnt -ro SOURCE,TARGET \
| grep centos7lmi \
- [lmi-commits] [lmi] master updated (b745ce9 -> 6fe3ab7), Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 5a787a9 04/10: Merge centos package caches, Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 5777e42 08/10: Don't mount /proc or /dev/pts if already mounted, Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 5a42ec0 06/10: Fix defect introduced 20200528T1107Z: wrong dependency order, Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 501ce73 05/10: Merge all chroot package caches, Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master ff91e9b 07/10: Use schroot 'directory' type instead of deprecated 'plain', Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 13805c4 01/10: Make a command handier, Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 2c31fee 09/10: Destroy chroots more carefully, Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 026c587 02/10: Replace an improperly hardcoded value with a variable,
Greg Chicares <=
- [lmi-commits] [lmi] master 6236aea 03/10: Rationalize order of unmounting, Greg Chicares, 2020/06/26
- [lmi-commits] [lmi] master 6fe3ab7 10/10: Customize /etc/schroot/lmi_profile/fstab, Greg Chicares, 2020/06/26