view gen_changelog.sh @ 1783:b0352818977b

Allow to switch to fullscreen mode using LIRC. Imagine the following situation (which happened to me several times) : you want to see photos from your bed or your sofa so you launch geeqie and go to the right directory, then you take your remote control and sit comfortably far from your keyboard and mouse. And when you want to begin to watch photos, you realize you forgot to enable full screen! You have to stand up and to go until your computer and come back, whereas you could have done it with your remote control. Patch by Bernard Massot.
author zas_
date Tue, 05 Jan 2010 17:49:50 +0000
parents 0c918f8b1f51
children
line wrap: on
line source

#!/bin/bash

# Script to update ChangeLog file,
# it keeps "pre-svn" history and insert svn log at top,
# it uses C locale for date format.
# It has to be run where ChangeLog is.
# Old ChangeLog is saved as ChangeLog.bak

[ ! -e "ChangeLog" ] && exit 1

tail -6614 ChangeLog > ChangeLog.$$.old && \
LC_ALL=C svn log -rHEAD:220 > ChangeLog.$$.new && \
cat ChangeLog.$$.old >> ChangeLog.$$.new && \
mv -f ChangeLog ChangeLog.bak && \
mv -f ChangeLog.$$.new ChangeLog

rm -f ChangeLog.$$.old
exit 0