diff options
author | pico.dev <pico.dev@gmail.com> | 2019-11-29 16:03:58 +0100 |
---|---|---|
committer | pico.dev <pico.dev@gmail.com> | 2019-11-29 16:03:58 +0100 |
commit | 05a2c528e3ec9ddf7626cd197109b2ac1d1aaedd (patch) | |
tree | 9025d095016a7049b6c7872220f6f65d0b6f423b /alis.sh | |
parent | 684220ff1299201ad21a5ca410009925d34373ab (diff) |
Do not explicit call for create xdg-dirs
Diffstat (limited to 'alis.sh')
-rw-r--r-- | alis.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -874,9 +874,10 @@ function create_user() { arch-chroot /mnt useradd -m -G wheel,storage,optical -s /bin/bash $USER_NAME printf "$USER_PASSWORD\n$USER_PASSWORD" | arch-chroot /mnt passwd $USER_NAME + USER_LOCALE=$LOCALE pacman_install "xdg-user-dirs" - arch-chroot /mnt sudo -H -u $USER_NAME echo "$LOCALE" > "/home/$USER_NAME/.config/user-dirs.locale" - arch-chroot /mnt sudo -H -u $USER_NAME xdg-user-dirs-update + arch-chroot /mnt sudo -H -u $USER_NAME mkdir -p "/home/$USER_NAME/.config" + arch-chroot /mnt sudo -H -u $USER_NAME bash -c "echo \"$USER_LOCALE\" > \"/home/$USER_NAME/.config/user-dirs.locale\"" } function desktop_environment() { |