mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
GitHub's default branch on basecamp/omarchy is no longer master, so a plain clone pulls the development branch. Pass --branch master so reinstalls always land on stable regardless of repo default.
12 lines
362 B
Bash
Executable File
12 lines
362 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Reinstall the Omarchy source directory from git
|
|
|
|
set -e
|
|
|
|
# Reinstall the Omarchy configuration directory from the git source.
|
|
|
|
git clone --depth=1 --branch master "https://github.com/basecamp/omarchy.git" ~/.local/share/omarchy-new >/dev/null
|
|
mv $OMARCHY_PATH ~/.local/share/omarchy-old
|
|
mv ~/.local/share/omarchy-new $OMARCHY_PATH
|