lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 294b7bb 13/18: Let certain commands fail for


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 294b7bb 13/18: Let certain commands fail for the moment
Date: Thu, 21 May 2020 19:43:12 -0400 (EDT)

branch: master
commit 294b7bb24220cc36fc1d1380a94153d509f9a7ab
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Let certain commands fail for the moment
    
    Dot files cannot be set for a user that does not yet exist.
    
    Probably 'lmi_setup_21.sh' already takes care of this at the right time.
---
 install_centos.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install_centos.sh b/install_centos.sh
index 0dd0dc5..82f7e22 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -127,7 +127,7 @@ cp -a install_centos_* /srv/chroot/centos7lmi/tmp
 schroot --chroot=centos7lmi --user=root --directory=/tmp ./install_centos_1.sh
 
 cp -a ~/.vimrc /srv/chroot/centos7lmi/root/.vimrc
-cp -a ~/.vimrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.vimrc
+cp -a ~/.vimrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.vimrc || echo 
"Huh?"
 
 # Experimentally, instead of this:
 # cp -a ~/.zshrc /srv/chroot/centos7lmi/root/.zshrc
@@ -135,7 +135,7 @@ cp -a ~/.vimrc 
/srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.vimrc
 # do this:
 wget -N -nv "${GIT_URL_BASE}"/gwc/.zshrc
 cp -a ~/.zshrc /srv/chroot/centos7lmi/root/.zshrc
-cp -a ~/.zshrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.zshrc
+cp -a ~/.zshrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.zshrc || echo 
"Huh?"
 # If that works well, then treat vim configuration the same way,
 # here and elsewhere.
 



reply via email to

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