From 9a6e3f642e84c54720ecde9ea386360391da53e8 Mon Sep 17 00:00:00 2001 From: Spirit Date: Mon, 19 Aug 2024 15:31:13 +0300 Subject: [PATCH] fix a typo --- init-void.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init-void.sh b/init-void.sh index a0214d1..76fef26 100755 --- a/init-void.sh +++ b/init-void.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ -z "$USERNAME" ]; then -USERNAME="spirit" + USERNAME="spirit" fi cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/ @@ -13,7 +13,7 @@ xbps-remove -y base-voidstrap xbps-reconfigure -fa useradd -m -G wheel -s /bin/bash $USERNAME -ed -i 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers +sed -i 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers if [[ "$1" == "--wsl" ]]; then cat < /etc/wsl.conf