mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-10 01:51:03 +01:00
Optimized atom package update proccess and disabled docker in systemctl
This commit is contained in:
parent
32e0ba1dbe
commit
40a930ab63
@ -64,19 +64,21 @@ if pacman -Qi "arduino" > /dev/null ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if pacman -Qi "atom" > /dev/null ; then
|
if pacman -Qi "atom" > /dev/null ; then
|
||||||
info "Installing atom packages..." &&
|
info "Installing atom dependencies..."
|
||||||
|
info "Installing \"apm\" packages..." &&
|
||||||
get_packages "client/apm/general" | apm install --verbose -c - || error "Failed."
|
get_packages "client/apm/general" | apm install --verbose -c - || error "Failed."
|
||||||
info "Installing software which is required by atom..." &&
|
info "Installing \"npm\" packages..." &&
|
||||||
sudo npm i -g bash-language-server &&
|
sudo npm i -g bash-language-server &&
|
||||||
python -m pip install 'python-language-server[all]' || error "Failed."
|
info "Installing \"python\" packages..." &&
|
||||||
|
python -m pip install 'python-language-server[all]' &&
|
||||||
|
info "Installing atom dependencies was successfull."|| error " Installing atom dependencies failed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if pacman -Qi "docker" > /dev/null ; then
|
if pacman -Qi "docker" > /dev/null ; then
|
||||||
info "Setting up docker..." &&
|
info "Setting up docker..." &&
|
||||||
info "Add current user \"$USER\" to user group docker..." &&
|
info "Add current user \"$USER\" to user group docker..." &&
|
||||||
sudo usermod -a -G docker "$USER" &&
|
sudo usermod -a -G docker "$USER" || error "Failed to add user."
|
||||||
info "Enable docker service..." &&
|
info "For performance reasons docker is not enabled. Start docker by executing \"sudo systemctl restart docker\" when you need it."
|
||||||
sudo systemctl enable docker --now || error "Failed."
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! "$(pacman -Qi virtualbox)" ] ; then
|
if [ ! "$(pacman -Qi virtualbox)" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user