v4.1.3
===================================================================== --- Bug Fixes ---------------------------- - added one more protection against sneaky BSD utils (fixes #1) --- Changes ------------------------------ - added a GH action to automatically create release binaries - added SCWRYPTS_ROOT when installed from aur package build
This commit is contained in:
@ -4,6 +4,9 @@
|
||||
[ ! $SCWRYPTS_ROOT ] \
|
||||
&& SCWRYPTS_ROOT="$(cd $(dirname "${0:a:h}"); git rev-parse --show-toplevel)"
|
||||
|
||||
[ ! $SCWRYPTS_ROOT ] && [ -d /usr/share/scwrypts ] \
|
||||
&& SCWRYPTS_ROOT=/usr/share/scwrypts
|
||||
|
||||
#####################################################################
|
||||
|
||||
DEFAULT_CONFIG="$SCWRYPTS_ROOT/zsh/lib/config.user.zsh"
|
||||
|
@ -37,7 +37,7 @@ __CHECK_COREUTILS() {
|
||||
do
|
||||
__CHECK_DEPENDENCY $UTIL || { ((MISSING_DEPENDENCY_COUNT+=1)); continue; }
|
||||
|
||||
$UTIL --version 2>&1 | grep -q 'GNU' || {
|
||||
$UTIL --version 2>&1 | grep 'GNU' | grep -qv 'BSD' || {
|
||||
WARNING "non-GNU version of $UTIL detected"
|
||||
((NON_GNU_DEPENDENCY_COUNT+=1))
|
||||
}
|
||||
|
Reference in New Issue
Block a user