From c365e61759cab7b601d0de7e8cf6b8a3ef99d274 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Tue, 17 Aug 2021 17:16:05 -0400 Subject: [PATCH] allow for provisioning to succeed if there are no profiles available --- base16-outrun-dark-256.sh | 3 +++ road-grey.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/base16-outrun-dark-256.sh b/base16-outrun-dark-256.sh index 7d942f3..e300a29 100755 --- a/base16-outrun-dark-256.sh +++ b/base16-outrun-dark-256.sh @@ -84,6 +84,9 @@ if which "$DCONF" > /dev/null 2>&1; then unset BASE_NEW_KEY touch "$HOME/.config/.gnome-terminal-profile-base16-outrun-dark-256-created" exit 0 + else + echo "No profiles exist, yet. Try again later." + exit 0 fi fi diff --git a/road-grey.sh b/road-grey.sh index 159d554..d1f79b8 100644 --- a/road-grey.sh +++ b/road-grey.sh @@ -85,6 +85,9 @@ if which "$DCONF" > /dev/null 2>&1; then unset BASE_NEW_KEY touch "$HOME/.config/.gnome-terminal-profile-road-grey-created" exit 0 + else + echo "No default profiles exist, try again later" + exit 0 fi fi