Commit d1bbcc50 authored by mntmn's avatar mntmn
Browse files

debian: include control files and shell script

parent 828dd7c0
Pipeline #300 passed with stage
in 3 minutes and 56 seconds
Package: reform-handbook
Version: 1.0-2
Section: base
Priority: optional
Architecture: all
Depends: bash, xdg-utils, elinks
Maintainer: Lukas F. Hartmann <lukas@mntre.com>
Description: MNT Reform Operator Handbook
The HTML version of the handbook for the MNT Reform OSHW laptop, plus a helper script /usr/bin/reform-handbook which opens the web pages using xdg-open or elinks. Includes a copy of the Inter font by rsms.
#!/bin/bash
version="1.0-1"
version="1.0-3"
target="./reform-handbook_${version}/usr/share/doc/reform-handbook"
mkdir -p "${target}/usr/bin"
cp reform-handbook "${target}/usr/bin/"
mkdir -p "${target}/html"
rm -r "${target}/html"
cp -Rv ./DEBIAN "./reform-handbook_${version}/"
cp -Rv ../src/build/html "${target}/"
rm "${target}/html/_static/schem/"*.sla
......
#!/bin/bash
if [ -z ${DISPLAY+x} ]
then
# not running under X/wayland
elinks /usr/share/doc/reform-handbook/html/index.html
else
xdg-open /usr/share/doc/reform-handbook/html/index.html
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment