fixed skel userfile install command throwing a fit

This commit is contained in:
Alan Weinstock 2022-09-01 14:23:28 -07:00
parent a90abde8ee
commit 8703f12e8d

View file

@ -100,8 +100,8 @@ install-deps(){
userinstall(){ userinstall(){
mkdir -p ${userinstalldir} mkdir -p ${userinstalldir}
cp ${rundir}/pyr0-bash-functions/functions ${userinstalldir}/functions cp ${rundir}/pyr0-bash-functions/functions ${userinstalldir}/functions
cp -r ${rundir}/lib/skel/* $HOME #cp -r ${rundir}/lib/skel/* $HOME/
cp -r ${rundir}/lib/skel/.* $HOME scp -r ${rundir}/lib/skel/.* $HOME
check-deps check-deps
if [[ "$bins_missing" != "false" ]] ; then if [[ "$bins_missing" != "false" ]] ; then
warn "Some of the utilities needed by this script are missing" warn "Some of the utilities needed by this script are missing"
@ -135,8 +135,8 @@ userinstall(){
globalinstall(){ globalinstall(){
mkdir -p ${globalinstalldir} mkdir -p ${globalinstalldir}
cp ${rundir}/pyr0-bash-functions/functions ${globalinstalldir}/functions cp ${rundir}/pyr0-bash-functions/functions ${globalinstalldir}/functions
cp -r ${rundir}/lib/skel/* /etc/skel/ #cp -r ${rundir}/lib/skel/* /etc/skel/
cp -r ${rundir}/lib/skel/.* /etc/skel/ scp -r ${rundir}/lib/skel/.* /etc/skel/
check-deps check-deps
if [[ "$bins_missing" != "false" ]] ; then if [[ "$bins_missing" != "false" ]] ; then
warn "Some of the utilities needed by this script are missing" warn "Some of the utilities needed by this script are missing"