Checkout the full git so branch switching is still possible
Closes #5701
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# omarchy:summary=Reinstall the Omarchy source directory from git
|
# omarchy:summary=Reinstall the stable Omarchy source directory from git
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Reinstall the Omarchy configuration directory from the git source.
|
# Reinstall the Omarchy configuration directory from the git source.
|
||||||
|
|
||||||
git clone --depth=1 "https://github.com/basecamp/omarchy.git" ~/.local/share/omarchy-new >/dev/null
|
git clone "https://github.com/basecamp/omarchy.git" ~/.local/share/omarchy-new >/dev/null
|
||||||
mv $OMARCHY_PATH ~/.local/share/omarchy-old
|
mv $OMARCHY_PATH ~/.local/share/omarchy-old
|
||||||
mv ~/.local/share/omarchy-new $OMARCHY_PATH
|
mv ~/.local/share/omarchy-new $OMARCHY_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user