Auto Update
This commit is contained in:
parent
fbd3f20c24
commit
d3749be84b
1 changed files with 3 additions and 7 deletions
10
setup.sh
10
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue