chiark / gitweb /
neofetch: Patch for version 3.0
[termux-packages] / packages / neofetch / neofetch.patch
1 diff -u -r ../neofetch-3.0/neofetch ./neofetch
2 --- ../neofetch-3.0/neofetch    2017-01-23 04:40:31.000000000 +0100
3 +++ ./neofetch  2017-01-23 13:12:25.682702897 +0100
4 @@ -3285,8 +3285,8 @@
5      if [[ -f "/etc/neofetch/config" ]]; then
6          default_config="/etc/neofetch/config"
7  
8 -    elif [[ -f "/data/data/com.termux/files/etc/neofetch/config" ]]; then
9 -        default_config="/data/data/com.termux/files/etc/neofetch/config"
10 +    elif [[ -f "/data/data/com.termux/files/usr/etc/neofetch/config" ]]; then
11 +        default_config="/data/data/com.termux/files/usr/etc/neofetch/config"
12  
13      else
14          [[ -z "$script_dir" ]] && script_dir="$(get_full_path "$0")"