From 0f12ba81baab9a85870f800b245cb269ef125987 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 31 Oct 2023 13:27:09 +0100 Subject: [PATCH] cleanup --- .local/bin/moodle-dl-update | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.local/bin/moodle-dl-update b/.local/bin/moodle-dl-update index ff3a8eb..a4a029b 100755 --- a/.local/bin/moodle-dl-update +++ b/.local/bin/moodle-dl-update @@ -1,12 +1,7 @@ #!/bin/sh MOODLE_DIR="/home/alex/eth/.moodle" cd "$MOODLE_DIR" -echo "pgrepping" -pgrep -x moodle-dl if ! pgrep -x moodle-dl; then - echo "nothing" [ -f running.lock ] && rm running.lock moodle-dl >/dev/null 2>&1 -else - echo "something" fi