From 87cfcfc72a22ed62b832364f989e3a328ea2f153 Mon Sep 17 00:00:00 2001 From: "Ryan S. Northrup" Date: Wed, 25 Jan 2017 15:15:22 -0800 Subject: [PATCH] Fix paths for "proper" Haiku installation Recommendation: consider working out some way for there to be a standard `$PREFIX` variable for this, and some other way to populate this correctly based on the `$PREFIX` passed to `make install`. --- neofetch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neofetch b/neofetch index cf78c057..908a7a04 100755 --- a/neofetch +++ b/neofetch @@ -2030,6 +2030,9 @@ get_ascii() { elif [[ -d "/data/data/com.termux/files/usr/share/neofetch/ascii/distro" ]]; then ascii_dir="/data/data/com.termux/files/usr/share/neofetch/ascii/distro" + + elif [[ -d "/boot/home/config/non-packaged/share/neofetch/ascii/distro" ]]; then + ascii_dir="/boot/home/config/non-packaged/share/neofetch/ascii/distro" else [[ -z "$script_dir" ]] && script_dir="$(get_full_path "$0")" @@ -3312,6 +3315,9 @@ get_default_config() { elif [[ -f "/data/data/com.termux/files/etc/neofetch/config" ]]; then default_config="/data/data/com.termux/files/etc/neofetch/config" + + elif [[ -f "/boot/home/config/non-packaged/etc/neofetch/config" ]]; then + default_config="/boot/home/config/non-packaged/etc/neofetch/config" else [[ -z "$script_dir" ]] && script_dir="$(get_full_path "$0")"