relaunch tardis after manually updating the memecache - bitreich-tardis - Front-end for navigating bitreich memes and TV dimensions HTML git clone git://bitreich.org/bitreich-tardis git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tardis DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit c4d223caf5ca6f5aeee668a9ae060d8de22b6464 DIR parent 51c0adcc43caa6c7ec3ce238b73338a1bea23531 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 2 Apr 2021 10:13:02 +0200 relaunch tardis after manually updating the memecache Diffstat: M tardis | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/tardis b/tardis @@ -20,6 +20,7 @@ usage() { update() { cd "$annna" && git pull >/dev/null getdimensions + cd - >/dev/null } getdimensions() { @@ -59,7 +60,7 @@ fi meme="$( (printf '%s\n%s\n' "$updatestr" "$interludestr"; \ cat "$dimensions" "$hashtags") | ${TARDIS_MENU})" if test "$meme" = "$updatestr"; then - update + update && exec "$0" elif test "$meme" = "$interludestr"; then ${TARDIS_PLUMB} ssh://time-machine@bitreich.org elif test "$meme"; then