view gen_readme.sh @ 2854:3ccf51c15dba

Do not grab focus when --remote view:<file> is used Ref: https://bugs.launchpad.net/ubuntu/+source/geeqie/+bug/1781858
author Colin Clark <colin.clark@cclark.uk>
date Sun, 21 Oct 2018 10:48:33 +0100
parents e083bab50112
children
line wrap: on
line source

#!/bin/bash

# Script to create README.html file,

[ ! -e "README.md" ] && exit 1
[ ! -x "$(command -v markdown)" ] && exit 0

[ -e README.html ] && mv -f README.html README.html.bak

markdown README.md > README.html

exit 0