diff options
Diffstat (limited to 'yf-update')
-rwxr-xr-x | yf-update | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,10 +1,10 @@ #!/bin/bash -source "$(dirname "$(readlink -e "$0")")/config" source "$(dirname "$(readlink -e "$0")")/local_config" +source "$(dirname "$(readlink -e "$0")")/config" source "$(dirname "$(readlink -e "$0")")/libremessages" blacklist_mtime=$(printf "%.0f" $(find ${blacklist} -printf "%T@")) -last_bl_mtime=$(cat "$(dirname "$(readlink -e "$0")")/yftime") +last_bl_mtime=$(< "$(dirname "$(readlink -e "$0")")/yftime") if [ $blacklist_mtime -gt $last_bl_mtime ]; then pushd "$(dirname "$(readlink -e "$0")")/yf" |