]> git.plutz.net Git - confetti/commitdiff
account for moved file in last commit
authorpaul <paul@plutz.net>
Mon, 11 Apr 2016 17:38:47 +0000 (17:38 +0000)
committerpaul <paul@plutz.net>
Mon, 11 Apr 2016 17:38:47 +0000 (17:38 +0000)
svn path=/trunk/; revision=99

actions/update_therapy.sh
pages/therapy.sh

index e7dcae2def0196465dbc5b599c32abb1a5f37f6f..6ba06cbd41214d84efe623d7c640020cd049d191 100755 (executable)
@@ -43,7 +43,7 @@ if [ -n "$_POST[delete_session]" ]; then
 elif [ -n "$_POST[new_session]" ]; then
   sid="$_POST[new_session]"
 
 elif [ -n "$_POST[new_session]" ]; then
   sid="$_POST[new_session]"
 
-  identify "$_EXEC/templates/therapy_background.png" \
+  identify "$_EXEC/static/therapy_background.png" \
   | sed -r 's;^.* ([0-9]+x[0-9]+) .*$;\1;' \
   | read dim
 
   | sed -r 's;^.* ([0-9]+x[0-9]+) .*$;\1;' \
   | read dim
 
index ee9804b2f6b139227515e5bd234d08107a77e516..de8ca8bfb69b1618026d2b53e07b7937c8b1cb31 100755 (executable)
@@ -29,7 +29,7 @@ tpyfile="$_DATA/therapies/$id"
 mpxfile="$_DATA/prescriptions/${id%.tpy}.mpx"
 client="$_DATA/vcard/${id%%.*}.vcf"
 
 mpxfile="$_DATA/prescriptions/${id%.tpy}.mpx"
 client="$_DATA/vcard/${id%%.*}.vcf"
 
-identify "$_EXEC/templates/therapy_background.png" \
+identify "$_EXEC/static/therapy_background.png" \
 | sed -r 's;^.* ([0-9]+x[0-9]+) .*$;\1;' \
 | read bg_dim
 
 | sed -r 's;^.* ([0-9]+x[0-9]+) .*$;\1;' \
 | read bg_dim