mirror of
https://github.com/spirit-x64/scripts.git
synced 2024-11-23 23:33:10 +03:00
fix a typo
This commit is contained in:
parent
bb200baf86
commit
9a6e3f642e
@ -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 <<EOF > /etc/wsl.conf
|
||||
|
Loading…
Reference in New Issue
Block a user