importing

This commit is contained in:
tengel 2024-03-20 11:13:10 -05:00
parent 85a5046093
commit ee43cedfba
10 changed files with 662 additions and 66 deletions

15
bin/debian_pandoc.sh Normal file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
#
# SPDX-License-Identifier: MIT
export DEBCONF_NOWARNINGS="yes"
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
apt-get -qq update
apt-get -qq -y install curl pandoc
_VER=$(curl -s "https://api.github.com/repos/jgm/pandoc/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
curl -sLo "pandoc-${_VER}-1-amd64.deb" "https://github.com/jgm/pandoc/releases/download/${_VER}/pandoc-${_VER}-1-amd64.deb"
apt-get -qq -y install "./pandoc-${_VER}-1-amd64.deb"
apt-get -qq -y autoremove