arch-maride-flavour/flavours/sudo.flavour/install.sh

11 lines
216 B
Bash
Raw Normal View History

2017-08-10 19:43:00 +00:00
#!/bin/sh
echo "~> Install sudo package"
pacstrap /mnt sudo
echo "~> Create group sudo and patch sudoers file"
arch-chroot /mnt groupadd sudo
arch-chroot /mnt sed -i "s/^# %sudo/%sudo/g" /etc/sudoers
2017-09-02 13:07:59 +00:00
amf_return=0