]> apps.delaporte.us Git - minion.git/commitdiff
Fixup
authorEdward Delaporte <edward@delaporte.us>
Sun, 2 Aug 2026 23:24:07 +0000 (18:24 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sun, 2 Aug 2026 23:24:07 +0000 (18:24 -0500)
setup-mp.sh

index b47acf5e6ef9af9e41f2d4d5aed2e491c8cdbad5..2f6be25a713ba5905a4550c00fc58922761abbd5 100755 (executable)
@@ -1,3 +1,17 @@
-ENVS=$HOME/envs
-cd $ENVS;python -m venv docs
-$ENVS/docs/bin/pip install md2pdf[cli]  # For PDF
+#!/usr/bin/bash
+INSTALL=$(find ~/Downloads/mdtohtml*.gz)
+INSTALL_TO="$HOME/bin"
+set -e
+if [ ! -n "$INSTALL" ]; then
+  echo "~/Downloads is missing install file mdtohtml*.gz"
+  echo "Get it from https://github.com/sgaunet/mdtohtml/releases"
+  exit 1
+fi
+
+echo "Installing from $INSTALL..."
+cd /tmp
+tar xf $INSTALL
+
+mkdir -p "$INSTALL_TO"
+mv mdtohtml $INSTALL_TO
+