forked from extern/nix-config
fedora: Revoke sudo privileges when no longer needed
We don't need sudo privileges when installing the dotfiles and vim plugins.
This commit is contained in:
parent
15047e15e6
commit
6f58c47506
@ -19,6 +19,9 @@ sudo -n dnf install -y make fedpkg
|
||||
# Run make
|
||||
make
|
||||
|
||||
# Revoke privileges
|
||||
sudo -K
|
||||
|
||||
# Install dotfiles
|
||||
make -C ..
|
||||
|
||||
@ -27,6 +30,3 @@ wal --theme base16-tomorrow-night
|
||||
|
||||
# Run vim for the first time (i.e. install plugins and exit)
|
||||
nvim
|
||||
|
||||
# Revoke privileges
|
||||
sudo -K
|
||||
|
Loading…
Reference in New Issue
Block a user