view gen_readme.sh @ 2879:c8147f1d5fc3

Fix #516: Shortcut/Feature: Select random image https://github.com/BestImageViewer/geeqie/issues/516 Implemented as a plugin. The random image is selected from all files in all collections plus all images in the current folder.
author Colin Clark <colin.clark@cclark.uk>
date Sat, 05 Jan 2019 16:22:05 +0000
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