From 800870f21b3c06dd0e387aa0f3b68ff12521399d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 12 Aug 2016 10:33:21 +1000 Subject: [PATCH] More travis fixes --- .travis.yml | 4 ++-- neofetch | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e60075ef..f48eb44e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,6 @@ before_install: script: - sudo make install - - time neofetch --test --ascii --config off --ascii_distro travis -v \ + - time neofetch --ascii --config off --ascii_distro travis -v \ --refresh_rate "on" --shell_version "on" --cpu_display "infobar" \ - --memory_display "infobar" --disk_display "infobar" + --memory_display "infobar" --disk_display "infobar" --test diff --git a/neofetch b/neofetch index 38b128d9..d3887867 100755 --- a/neofetch +++ b/neofetch @@ -2935,6 +2935,10 @@ while [ "$1" ]; do info linebreak printf "%b%s" "\033[$(tput lines)H" } + + # Set the test func to readonly so a config source + # doesn't overwrite it. + readonly -f printinfo ;; -v) verbose="on" ;;