mirror of
https://github.com/tanrax/maza-ad-blocking.git
synced 2024-11-10 02:15:42 +01:00
Merge pull request #9 from CaninoDev/patch-1
Check if $XDG_CONFIG_HOME is set.
This commit is contained in:
commit
88959d7718
2
maza
2
maza
@ -7,7 +7,7 @@ set -e
|
|||||||
NAME_OSX="Darwin"
|
NAME_OSX="Darwin"
|
||||||
THIS_OS=$(uname -mrs)
|
THIS_OS=$(uname -mrs)
|
||||||
PROGNAME=$(basename $0)
|
PROGNAME=$(basename $0)
|
||||||
CONFIG=($HOME/.maza/)
|
[[ -z "${XDG_CONFIG_HOME}" ]] && CONFIG=$HOME/.maza/ || CONFIG=$XDG_CONFIG_HOME/maza
|
||||||
HOST_FILE=(/etc/hosts)
|
HOST_FILE=(/etc/hosts)
|
||||||
COLOR_RED=`tput setaf 1`
|
COLOR_RED=`tput setaf 1`
|
||||||
COLOR_GREEN=`tput setaf 2`
|
COLOR_GREEN=`tput setaf 2`
|
||||||
|
Loading…
Reference in New Issue
Block a user