From: Edward Delaporte Date: Sun, 2 Aug 2026 23:24:07 +0000 (-0500) Subject: Fixup X-Git-Url: https://us-delaporte.pagekite.me/gitweb/minion.git/commitdiff_plain/0a5652a2bb4c1a8add2e26b3580154a3c9d61606?ds=sidebyside Fixup --- diff --git a/setup-mp.sh b/setup-mp.sh index b47acf5..2f6be25 100755 --- a/setup-mp.sh +++ b/setup-mp.sh @@ -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 +