[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.
- [lmi-commits] [lmi] master 90411ba 06/18: Use a variable to reduce literal repetition, (continued)
- [lmi-commits] [lmi] master 90411ba 06/18: Use a variable to reduce literal repetition, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 8054eeb 09/18: Don't create chroot's own /var before running debootstrap, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 2b00752 10/18: Note some questions for later investigation, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 7f0f5fa 04/18: Announce the installation of each chroot, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 5134131 02/18: Rearrange some independent script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master a779e6f 05/18: Give all group users access to chroot, on debian host, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master bfd3dae 07/18: Regularize debootstrap invocations, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 0d9cf29 08/18: Clarify documentation, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 455d59e 11/18: Rearrange some script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 4a7d356 12/18: Extract marked blocks into sub-scripts #11, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 294b7bb 13/18: Let certain commands fail for the moment,
Greg Chicares <=
- [lmi-commits] [lmi] master d496c75 15/18: Move some more script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master dc2ccdb 14/18: Rearrange independent script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master af65430 16/18: Remove a redundant block, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 3776d3f 17/18: Move one script's contents into another, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 8bc4085 18/18: Remove a script that is no longer wanted, Greg Chicares, 2020/05/21