trying new syntax for bashappend
This commit is contained in:
parent
628ebafbca
commit
341d8eb86a
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ globalinstall(){
|
|||
#cp -r ${rundir}/lib/skel/* /etc/skel/
|
||||
scp -r ${rundir}/lib/skel/.* /home/${selecteduser}
|
||||
if [[ $(cat /home/${selecteduser}/.bashrc | grep -c prbl) == 0 ]] ; then
|
||||
echo -e $bashrc_append >> /home/${selecteduser}/.bashrc && boxborder "bashc.d installed..." || fail "Unable to append .bashrc"
|
||||
su ${selecteduser} -c "echo -e $bashrc_append >> /home/${selecteduser}/.bashrc" && boxborder "bashc.d installed..." || fail "Unable to append .bashrc"
|
||||
fi
|
||||
crontab -l -u $selecteduser | cat - ${rundir}/lib/quickinfo.cron | crontab -u $selecteduser -
|
||||
mkdir -p /home/${selecteduser}/.quickinfo
|
||||
|
|
|
|||
Loading…
Reference in a new issue