execute usermod with sudo

This commit is contained in:
Kevin Veen-Birkenbach 2019-12-09 11:55:42 +01:00
parent 4f69133e3e
commit e48d67f323

View File

@ -72,8 +72,8 @@ sudo pacman --needed -S dia
echo "->Synchronizing IDE's..."
sudo pacman --needed -S eclipse-java atom arduino arduino-docs
echo "-->Add user to arduino relevant groups..."
usermod -a -G uucp "$USER" || echo "Couldn't add <<$USER>> to group <<uucp>>. Try to add manually later!"
usermod -a -G lock "$USER" || echo "Couldn't add <<$USER>> to group <<lock>>. Try to add manually later!"
sudo usermod -a -G uucp "$USER" || echo "Couldn't add <<$USER>> to group <<uucp>>. Try to add manually later!"
sudo usermod -a -G lock "$USER" || echo "Couldn't add <<$USER>> to group <<lock>>. Try to add manually later!"
echo "-->Installing atom packages..."
apm install -c \
atom-ide-ui\