fix a typo

This commit is contained in:
Spirit 👾 2024-08-19 15:31:13 +03:00
parent bb200baf86
commit 9a6e3f642e

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$USERNAME" ]; then if [ -z "$USERNAME" ]; then
USERNAME="spirit" USERNAME="spirit"
fi fi
cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/ cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
@ -13,7 +13,7 @@ xbps-remove -y base-voidstrap
xbps-reconfigure -fa xbps-reconfigure -fa
useradd -m -G wheel -s /bin/bash $USERNAME 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 if [[ "$1" == "--wsl" ]]; then
cat <<EOF > /etc/wsl.conf cat <<EOF > /etc/wsl.conf