projects
/
grml-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not mv master.conf file but generate it only if it does not exist yet
[grml-scripts.git]
/
usr_bin
/
iimage
diff --git
a/usr_bin/iimage
b/usr_bin/iimage
index
14ef84f
..
77a74ab
100755
(executable)
--- a/
usr_bin/iimage
+++ b/
usr_bin/iimage
@@
-49,7
+49,7
@@
#
######################################################################
#
######################################################################
-SVN_ID="$Id: iimage 3
6 2006-01-14 20:19:46
Z ronsc $"
+SVN_ID="$Id: iimage 3
7 2006-08-22 13:50:17
Z ronsc $"
# old templates might still use CVS_VERSION
CVS_VERSION="$SVN_ID"
# old templates might still use CVS_VERSION
CVS_VERSION="$SVN_ID"
@@
-436,7
+436,7
@@
function rotate_image() {
| grep Orientation | cut -d":" -f 2 | cut -d"," -f 1 `
elif [ $JHEAD ]; then
ORIENTATION=`jhead -v "$FILE" 2>/dev/null \
| grep Orientation | cut -d":" -f 2 | cut -d"," -f 1 `
elif [ $JHEAD ]; then
ORIENTATION=`jhead -v "$FILE" 2>/dev/null \
- | grep "Orientation =" | cut -d '=' -f 2 | cut -c 2 `
+ | grep "Orientation =" |
head -1 |
cut -d '=' -f 2 | cut -c 2 `
fi
ORIENTATION=`echo $ORIENTATION`
fi
ORIENTATION=`echo $ORIENTATION`