tFix toilet flushing. - dotg - a bitreich fosdem adventure (HTM) git clone git://parazyd.org/dotg.git (DIR) Log (DIR) Files (DIR) Refs --- (DIR) commit 08eec4ab66ee6f4db95de2b6b066099f4abb85e7 (DIR) parent 59323bf11bfb743d7984196bed864b135eec476f (HTM) Author: parazyd <parazyd@dyne.org> Date: Sun, 25 Feb 2018 12:05:49 +0100 Fix toilet flushing. Diffstat: M act-i/Toilet1.sh | 2 +- M act-i/Toilet2.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) --- (DIR) diff --git a/act-i/Toilet1.sh b/act-i/Toilet1.sh t@@ -6,7 +6,7 @@ specific_toilet1() { _msg "You flush the $item down the toilet." rm "$inventory/$item" rm -f "$toilet1/toilet/Vomit" - printf 1 "$toilet1/toilet/Water" + printf 1 > "$toilet1/toilet/Water" ;; Black_dildo) (DIR) diff --git a/act-i/Toilet2.sh b/act-i/Toilet2.sh t@@ -5,8 +5,7 @@ specific_toilet2() { Plate_of_Bolognese_Sauce|Used_condom) _msg "You flush the $item down the toilet." rm "$inventory/$item" - rm -f "$toilet1/toilet/Vomit" - printf 1 "$toilet1/toilet/Water" + printf 1 > "$toilet2/toilet/Water" ;; Smartphone)