summaryrefslogtreecommitdiff
path: root/sts
diff options
context:
space:
mode:
authorcos <cos>2015-01-10 20:21:43 +0100
committercos <cos>2015-01-10 20:21:43 +0100
commit1c478c82986d8340814d5d17c4522704a489e529 (patch)
tree9036489332ed0311d272922a98eb011679d13846 /sts
parent135d8c9ef7fe197b0547629e38f9cc73de5dbc98 (diff)
downloadmat-1c478c82986d8340814d5d17c4522704a489e529.zip
Add hackish support to print a logo on some labels.
Diffstat (limited to 'sts')
-rwxr-xr-xsts6
1 files changed, 5 insertions, 1 deletions
diff --git a/sts b/sts
index 2f910f7..72771bd 100755
--- a/sts
+++ b/sts
@@ -2,5 +2,9 @@
# scale triggered store
cd $HOME/mat/matplan/
-./mat storeportion `cat currently_cooking` "$1" hemfrys
+if (grep -q v currently_cooking); then
+ PRINT_WITH_LOGO=y ./mat storeportion `cat currently_cooking|sed 's/v//'` "$1" hemfrys
+else
+ ./mat storeportion `cat currently_cooking|sed 's/v//'` "$1" hemfrys
+fi