From 59b9f1d26c13faecd76a2a88ffbd8671b647d2b9 Mon Sep 17 00:00:00 2001 From: ulises-jeremias Date: Sat, 19 Feb 2022 03:53:53 -0300 Subject: [PATCH] Updated ROOT --- dots | 4 ++++ dots-scripts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/dots b/dots index bc67555a..328e37b2 100755 --- a/dots +++ b/dots @@ -32,6 +32,10 @@ if [[ -d /opt/dots-git ]]; then ROOT=/opt/dots-git fi +if [[ -d /opt/dots-stable ]]; then + ROOT=/opt/dots-stable +fi + source "${ROOT}"/util/opts/opts.sh || exit # override OS with a correct value with the given params diff --git a/dots-scripts b/dots-scripts index 029ad630..f612b010 100755 --- a/dots-scripts +++ b/dots-scripts @@ -18,6 +18,10 @@ if [[ -d /opt/dots-git ]]; then ROOT=/opt/dots-git fi +if [[ -d /opt/dots-stable ]]; then + ROOT=/opt/dots-stable +fi + show_message_with_usage() { [[ -z "$documentation" ]] && parse_documentation echo "$documentation"