From d3749be84b0e3f51992f181d91d71c77cb67752b Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 4 Feb 2023 01:49:08 -0500 Subject: [PATCH] Auto Update --- setup.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/setup.sh b/setup.sh index cb934b0..fcb988c 100644 --- a/setup.sh +++ b/setup.sh @@ -31,11 +31,7 @@ cat << EOF >> ../../.PS1 PS1='\[\033[$GREEN\]\u\[\033[01;38;5;${SERV_COLOR}m\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' EOF -## lazyness is bad -#if [ -f ../../.env ] ; then -# rm /etc/sudoers.d/user -# echo "$USER ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/user -#fi -if [ -f /etc/sudoers.d/user ] ; then - rm /etc/sudoers.d/user +if [ "$USER" = jelly ] ; then + rm ../../.nanorc /root/.nanorc /etc/nanorc fi +