1
0
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:
Donovan Glover 2018-12-07 15:21:28 -05:00
parent 15047e15e6
commit 6f58c47506
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

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