arch-maride-flavour/flavours/sudo.flavour/install.sh
2017-08-10 21:43:00 +02:00

9 lines
202 B
Bash

#!/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