From 5d8e2d6d5e585d93c92c7bbe909b9aa75a893b7e Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 31 Jul 2026 17:14:33 -0500 Subject: [PATCH] Add installer for mdtohtml --- install/mdtohtml.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install/mdtohtml.sh diff --git a/install/mdtohtml.sh b/install/mdtohtml.sh new file mode 100755 index 0000000..01246da --- /dev/null +++ b/install/mdtohtml.sh @@ -0,0 +1,12 @@ +#!/usr/bin/bash +INSTALL=$(find ~/Downloads/mdtohtml*.gz) +INSTALL_TO="$HOME/bin" +if [ ! -f $INSTALL ]; then + echo "~/Downloads is missing instal file from https://github.com/sgaunet/mdtohtml/releases" + exit 1 +fi +echo "Installing from $INSTALL..." +tar xf $INSTALL + +mkdir -p "$INSTALL_TO" +mv mdtohtml $INSTALL_TO -- 2.47.3