From 9e5426b18018632f17b0f1f517e89668d9d2b216 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 26 Apr 2011 19:46:59 +0000 Subject: [PATCH] added a bit of protection in case logic is wrong --- inxi | 1 + 1 file changed, 1 insertion(+) diff --git a/inxi b/inxi index 153e65a..e161877 100755 --- a/inxi +++ b/inxi @@ -914,6 +914,7 @@ select_default_color_scheme() echo "$config_variable=$user_selection" >> $config_file else print_screen_output "Updating config file for $COLOR_SELECTION color scheme now..." + touch $config_file # just in case of logic error above sed -i "s/$config_variable=.*/$config_variable=$user_selection/" $config_file fi # file exists now so we can go on to cleanup