mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Compare commits
4 Commits
v1.5.1
...
03053626e3
Author | SHA1 | Date | |
---|---|---|---|
03053626e3 | |||
4df7fcb716 | |||
913675bd5e | |||
56e25bd02c |
10
install.sh
Normal file → Executable file
10
install.sh
Normal file → Executable file
@ -1,8 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Exit immediately if a command exits with a non-zero status
|
# Exit immediately if a command exits with a non-zero status
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Give people a chance to retry running the installation
|
# Give people a chance to retry running the installation
|
||||||
trap 'echo "Omarchy installation failed! You can retry by running: source ~/.local/share/omarchy/install.sh"' ERR
|
catch_errors() {
|
||||||
|
echo -e "\n\e[31mOmarchy installation failed!\e[0m"
|
||||||
|
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh"
|
||||||
|
echo "Get help from the community: https://discord.gg/tXFUdasqhY"
|
||||||
|
}
|
||||||
|
|
||||||
|
trap catch_errors ERR
|
||||||
|
|
||||||
# Install everything
|
# Install everything
|
||||||
for f in ~/.local/share/omarchy/install/*.sh; do
|
for f in ~/.local/share/omarchy/install/*.sh; do
|
||||||
|
@ -13,6 +13,7 @@ sudo systemctl enable docker
|
|||||||
sudo usermod -aG docker ${USER}
|
sudo usermod -aG docker ${USER}
|
||||||
|
|
||||||
# Prevent Docker from preventing boot for network-online.target
|
# Prevent Docker from preventing boot for network-online.target
|
||||||
|
sudo mkdir -p /etc/systemd/system/docker.service.d
|
||||||
sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF'
|
sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF'
|
||||||
[Unit]
|
[Unit]
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
@ -110,6 +110,7 @@ WantedBy=graphical.target
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Make plymouth remain until graphical.target
|
# Make plymouth remain until graphical.target
|
||||||
|
sudo mkdir -p /etc/systemd/system/plymouth-quit.service.d
|
||||||
sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF'
|
sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF'
|
||||||
[Unit]
|
[Unit]
|
||||||
After=multi-user.target
|
After=multi-user.target
|
||||||
|
Reference in New Issue
Block a user