Update lace
[lace] / lacehowlong
index e7a7792548ae449520154e688bdb2bc9b72dec35..72486c14fc5b808ba499a29bd58076c7e7b2bc7e 100644 (file)
@@ -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