From 03bbdbc9d1bbe86429fb365d8acf6e9538c57432 Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Fri, 28 Jan 2022 17:05:49 +0100 Subject: [PATCH] Updates dconf only if dconf is installed --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 71aa825..8245d58 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,10 @@ function run() { } function load_gnome_terminal_profiles() { - run dconf load /org/gnome/terminal/legacy/profiles:/ < $(this_script_root_dir)/gnome-terminal-profiles.dconf + if which dconf + then + run dconf load /org/gnome/terminal/legacy/profiles:/ < $(this_script_root_dir)/gnome-terminal-profiles.dconf + fi } function install_home() {