~flimm/ooo-thumbnailer/releases

« back to all changes in this revision

Viewing changes to ooo-thumbnailer

  • Committer: David D Lowe
  • Date: 2010-05-19 18:39:58 UTC
  • mfrom: (1.1.7 bash-ooo-thumbnailer)
  • Revision ID: daviddlowe.flimm@gmail.com-20100519183958-s3qe3x07dqsodyhk
0.2.1 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
#
3
3
#  Copyright 2007 Erlend Davidson <Erlend.Davidson@gmail.com>
4
 
#  Copyright 2009 David D Lowe <DavidDLowe.flimm@gmail.com>
 
4
#  Copyright 2009-2010 David D Lowe <DavidDLowe.flimm@gmail.com>
5
5
#
6
6
#  This program is free software; you can redistribute it and/or modify
7
7
#  it under the terms of the GNU General Public License as published by
31
31
test -f ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs
32
32
 
33
33
# documents in the Templates directory are ignored
34
 
if [ `dirname "$ifile"` != ${XDG_TEMPLATES_DIR:-$HOME/Templates} ]; then
 
34
if [ "`dirname "$ifile"`" != "${XDG_TEMPLATES_DIR:-$HOME/Templates}" ]; then
35
35
  # use imagemagick if it's installed
36
36
  # (currently, always the case until GNOME bug #576750 is fixed and 
37
37
  # dependency on imagemagick is removed)