]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add installer for mdtohtml
authorEdward Delaporte <edward@delaporte.us>
Fri, 31 Jul 2026 22:14:33 +0000 (17:14 -0500)
committerEdward Delaporte <edward@delaporte.us>
Fri, 31 Jul 2026 22:17:32 +0000 (17:17 -0500)
install/mdtohtml.sh [new file with mode: 0755]

diff --git a/install/mdtohtml.sh b/install/mdtohtml.sh
new file mode 100755 (executable)
index 0000000..01246da
--- /dev/null
@@ -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