lmi-commits
[Top][All Lists]
Advanced

[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 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]