Auto Update

This commit is contained in:
matt1432 2023-02-04 01:49:08 -05:00
parent fbd3f20c24
commit d3749be84b

View file

@ -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