X-Git-Url: https://software.frrobert.com/lace/blobdiff_plain/bcebdcbca28b5f7aabee9b10f432a34ca56954de..1f108d11c90ae30cb27eb44b21772575be85913a:/lacehowlong diff --git a/lacehowlong b/lacehowlong index e7a7792..72486c1 100644 --- a/lacehowlong +++ b/lacehowlong @@ -1,7 +1,8 @@ #!/usr/bin/env bash #Forked from https://gitlab.com/uoou/dotfiles/-/tree/master/stow/bin/home/drew/.local/bin/lace -# Modified to work on Debian Distros - +# Modified to work on Debian Distros running Sed 3.7 +# https://github.com/frrobert2/lace/blob/main/lacehowlong + if [ -z "$XDG_CONFIG_HOME" ];then config_place="$HOME/.config/lace" else @@ -47,7 +48,7 @@ function reldate() { echo ""$((delta_s / SEC_PER_YEAR))" years ago" fi } -export -f reldate +#export -f reldate function dohelp() { echo -e "\nUsage:\n" @@ -123,7 +124,7 @@ elif [[ "$1" == "unsub" ]];then elif [[ "$1" == "subs" ]];then awk '{print $2" ("$1")"}' $subsfile elif [[ "$1" == "update" ]];then - curl https://gitlab.com/uoou/dotfiles/-/raw/master/stow/bin/home/drew/.local/bin/lace > "${BASH_SOURCE[0]}" + curl https://raw.githubusercontent.com/frrobert2/lace/main/lacehowlong > "${BASH_SOURCE[0]}" else now_unix="$(date +'%s')" if [[ "$1" == "nope" ]];then