Browse Source

change config file paths

this will be the first of many changes, since they are so
unsatisfying right now.
boyska 8 years ago
parent
commit
60a3a15624
3 changed files with 2 additions and 2 deletions
  1. 0 0
      etc/bookscanner/splitall.rc
  2. 1 1
      usr/local/bin/splitall
  3. 1 1
      usr/local/bin/unwarpall

+ 0 - 0
etc/splitall.rc → etc/bookscanner/splitall.rc


+ 1 - 1
usr/local/bin/splitall

@@ -5,7 +5,7 @@ set -u
 
 colordetect='colordetect --hue 180 --min-value 80 --param2 20 --coordinates - --cut-left 30% --cut-right 30% --cut-top 10% --cut-bottom 10% --min-dist 10% --min-radius 1% --max-radius 6%'
 imagecut=imagecut
-[[ -f /etc/splitall.rc ]] && source /etc/splitall.rc
+[[ -f /etc/bookscanner/splitall.rc ]] && source /etc/bookscanner/splitall.rc
 
 usage() {
 	echo "Usage: $0 DIRECTORY"

+ 1 - 1
usr/local/bin/unwarpall

@@ -6,7 +6,7 @@ set -u
 unwarper=ppmunwarp
 unwarp_calib=""
 TMPDIR=${TMPDIR:-/tmp}
-[[ -f /etc/splitall.rc ]] && source /etc/splitall.rc
+[[ -f /etc/bookscanner/splitall.rc ]] && source /etc/bookscanner/splitall.rc
 
 usage() {
 	echo "Usage: $0 DIRECTORY"