Skip to content
Snippets Groups Projects
Commit d1bbcc50 authored by minute's avatar minute
Browse files

debian: include control files and shell script

parent 828dd7c0
No related branches found
No related tags found
No related merge requests found
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 #!/bin/bash
version="1.0-1" version="1.0-3"
target="./reform-handbook_${version}/usr/share/doc/reform-handbook" target="./reform-handbook_${version}/usr/share/doc/reform-handbook"
mkdir -p "${target}/usr/bin"
cp reform-handbook "${target}/usr/bin/"
mkdir -p "${target}/html" mkdir -p "${target}/html"
rm -r "${target}/html" rm -r "${target}/html"
cp -Rv ./DEBIAN "./reform-handbook_${version}/"
cp -Rv ../src/build/html "${target}/" cp -Rv ../src/build/html "${target}/"
rm "${target}/html/_static/schem/"*.sla 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment