diff --git a/run_once_after_10_install-packages.sh b/run_once_after_10_install-packages.sh index b3af217..58f4b95 100644 --- a/run_once_after_10_install-packages.sh +++ b/run_once_after_10_install-packages.sh @@ -44,7 +44,7 @@ clone_maybe https://github.com/ndwarshuis/.emacs.d.git "$emacs_dir" # only be used once. Pass the emacs config directory so it can get a list of # dependencies for emacs -sudo "$(id -u)" "$HOME/.bin/bootstrap_pkgs" "$HOME/.local/share/packages" "$emacs_dir" +sudo "$(whoami)" "$HOME/.bin/bootstrap_pkgs" "$HOME/.local/share/packages" "$emacs_dir" # Install Haskell dependencies for emacs. This is only necessary because some # Haskell programs are not packaged as "bin" or "stack" packages, in which case